0
0

composer.json 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. "files": [
  32. "classes/src/Functions/adjoint.php",
  33. "classes/src/Functions/antidiagonal.php",
  34. "classes/src/Functions/cofactors.php",
  35. "classes/src/Functions/determinant.php",
  36. "classes/src/Functions/diagonal.php",
  37. "classes/src/Functions/identity.php",
  38. "classes/src/Functions/inverse.php",
  39. "classes/src/Functions/minors.php",
  40. "classes/src/Functions/trace.php",
  41. "classes/src/Functions/transpose.php",
  42. "classes/src/Operations/add.php",
  43. "classes/src/Operations/directsum.php",
  44. "classes/src/Operations/subtract.php",
  45. "classes/src/Operations/multiply.php",
  46. "classes/src/Operations/divideby.php",
  47. "classes/src/Operations/divideinto.php"
  48. ]
  49. },
  50. "autoload-dev": {
  51. "psr-4": {
  52. "MatrixTest\\": "unitTests/classes/src/"
  53. },
  54. "files": [
  55. "classes/src/Functions/adjoint.php",
  56. "classes/src/Functions/antidiagonal.php",
  57. "classes/src/Functions/cofactors.php",
  58. "classes/src/Functions/determinant.php",
  59. "classes/src/Functions/diagonal.php",
  60. "classes/src/Functions/identity.php",
  61. "classes/src/Functions/inverse.php",
  62. "classes/src/Functions/minors.php",
  63. "classes/src/Functions/trace.php",
  64. "classes/src/Functions/transpose.php",
  65. "classes/src/Operations/add.php",
  66. "classes/src/Operations/directsum.php",
  67. "classes/src/Operations/subtract.php",
  68. "classes/src/Operations/multiply.php",
  69. "classes/src/Operations/divideby.php",
  70. "classes/src/Operations/divideinto.php"
  71. ]
  72. },
  73. "scripts": {
  74. "style": "phpcs --report-width=200 --standard=PSR2 --report=summary,full classes/src/ unitTests/classes/src -n",
  75. "test": "phpunit -c phpunit.xml.dist",
  76. "mess": "phpmd classes/src/ xml codesize,unusedcode,design,naming -n",
  77. "lines": "phploc classes/src/ -n",
  78. "cpd": "phpcpd classes/src/ -n",
  79. "versions": "phpcs --report-width=200 --standard=PHPCompatibility --report=summary,full classes/src/ --runtime-set testVersion 7.2- -n",
  80. "coverage": "phpunit -c phpunit.xml.dist --coverage-text --coverage-html ./build/coverage"
  81. },
  82. "minimum-stability": "dev"
  83. }