composer.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "markbaker/matrix",
  3. "type": "library",
  4. "description": "PHP Class for working with matrices",
  5. "keywords": ["matrix", "vector", "mathematics"],
  6. "homepage": "https://github.com/MarkBaker/PHPMatrix",
  7. "license": "MIT",
  8. "authors": [
  9. {
  10. "name": "Mark Baker",
  11. "email": "mark@demon-angel.eu"
  12. }
  13. ],
  14. "require": {
  15. "php": "^7.1 || ^8.0"
  16. },
  17. "require-dev": {
  18. "phpunit/phpunit": "^7.0 || ^8.0 || ^9.3",
  19. "phpdocumentor/phpdocumentor": "2.*",
  20. "phpmd/phpmd": "2.*",
  21. "sebastian/phpcpd": "^4.0",
  22. "phploc/phploc": "^4.0",
  23. "squizlabs/php_codesniffer": "^3.4",
  24. "phpcompatibility/php-compatibility": "^9.0",
  25. "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0"
  26. },
  27. "autoload": {
  28. "psr-4": {
  29. "Matrix\\": "classes/src/"
  30. }
  31. },
  32. "autoload-dev": {
  33. "psr-4": {
  34. "MatrixTest\\": "unitTests/classes/src/"
  35. }
  36. },
  37. "scripts": {
  38. "style": "phpcs --report-width=200 --standard=PSR2 --report=summary,full classes/src/ unitTests/classes/src -n",
  39. "test": "phpunit -c phpunit.xml.dist",
  40. "mess": "phpmd classes/src/ xml codesize,unusedcode,design,naming -n",
  41. "lines": "phploc classes/src/ -n",
  42. "cpd": "phpcpd classes/src/ -n",
  43. "versions": "phpcs --report-width=200 --standard=PHPCompatibility --report=summary,full classes/src/ --runtime-set testVersion 7.2- -n",
  44. "coverage": "phpunit -c phpunit.xml.dist --coverage-text --coverage-html ./build/coverage"
  45. },
  46. "minimum-stability": "dev"
  47. }