composer.json 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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@lange.demon.co.uk"
  12. }
  13. ],
  14. "require": {
  15. "php": "^5.6.0|^7.0.0"
  16. },
  17. "require-dev": {
  18. "phpunit/phpunit": "^5.7|^6.0|7.0",
  19. "phpmd/phpmd": "dev-master",
  20. "sebastian/phpcpd": "^3.0",
  21. "phploc/phploc": "^4",
  22. "squizlabs/php_codesniffer": "^3.0@dev",
  23. "phpcompatibility/php-compatibility": "dev-master",
  24. "dealerdirect/phpcodesniffer-composer-installer": "dev-master"
  25. },
  26. "autoload": {
  27. "psr-4": {
  28. "Matrix\\": "classes/src/"
  29. },
  30. "files": [
  31. "classes/src/Functions/adjoint.php",
  32. "classes/src/Functions/antidiagonal.php",
  33. "classes/src/Functions/cofactors.php",
  34. "classes/src/Functions/determinant.php",
  35. "classes/src/Functions/diagonal.php",
  36. "classes/src/Functions/identity.php",
  37. "classes/src/Functions/inverse.php",
  38. "classes/src/Functions/minors.php",
  39. "classes/src/Functions/trace.php",
  40. "classes/src/Functions/transpose.php",
  41. "classes/src/Operations/add.php",
  42. "classes/src/Operations/directsum.php",
  43. "classes/src/Operations/subtract.php",
  44. "classes/src/Operations/multiply.php",
  45. "classes/src/Operations/divideby.php",
  46. "classes/src/Operations/divideinto.php"
  47. ]
  48. },
  49. "autoload-dev": {
  50. "psr-4": {
  51. "MatrixTest\\": "unitTests/classes/src/"
  52. },
  53. "files": [
  54. "classes/src/Functions/adjoint.php",
  55. "classes/src/Functions/antidiagonal.php",
  56. "classes/src/Functions/cofactors.php",
  57. "classes/src/Functions/determinant.php",
  58. "classes/src/Functions/diagonal.php",
  59. "classes/src/Functions/identity.php",
  60. "classes/src/Functions/inverse.php",
  61. "classes/src/Functions/minors.php",
  62. "classes/src/Functions/trace.php",
  63. "classes/src/Functions/transpose.php",
  64. "classes/src/Operations/add.php",
  65. "classes/src/Operations/directsum.php",
  66. "classes/src/Operations/subtract.php",
  67. "classes/src/Operations/multiply.php",
  68. "classes/src/Operations/divideby.php",
  69. "classes/src/Operations/divideinto.php"
  70. ]
  71. },
  72. "scripts": {
  73. "style": "phpcs --standard=PSR2 --report-width=200 --report=summary,full classes/src/ unitTests/classes/src -n",
  74. "test": "phpunit -c phpunit.xml.dist",
  75. "mess": "phpmd classes/src/ xml codesize,unusedcode,design,naming -n",
  76. "lines": "phploc classes/src/ -n",
  77. "cpd": "phpcpd classes/src/ -n",
  78. "versions": "phpcs --report-width=200 --report=summary,full classes/src/ --standard=PHPCompatibility --runtime-set testVersion 5.6- -n",
  79. "coverage": "phpunit -c phpunit.xml.dist --coverage-text --coverage-html ./build/coverage"
  80. },
  81. "minimum-stability": "dev"
  82. }