composer.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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.0",
  19. "phpdocumentor/phpdocumentor": "2.*",
  20. "phpmd/phpmd": "2.*",
  21. "sebastian/phpcpd": "^4.0",
  22. "phploc/phploc": "^4.0",
  23. "squizlabs/php_codesniffer": "^3.7",
  24. "phpcompatibility/php-compatibility": "^9.3",
  25. "dealerdirect/phpcodesniffer-composer-installer": "dev-master"
  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. "config": {
  48. "allow-plugins": {
  49. "dealerdirect/phpcodesniffer-composer-installer": true
  50. }
  51. }
  52. }