composer.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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": "^4.8.35|^5.4.0",
  19. "phpdocumentor/phpdocumentor":"2.*",
  20. "phpmd/phpmd": "2.*",
  21. "sebastian/phpcpd": "2.*",
  22. "phploc/phploc": "2.*",
  23. "squizlabs/php_codesniffer": "^3.3.0",
  24. "phpcompatibility/php-compatibility": "^8.0",
  25. "dealerdirect/phpcodesniffer-composer-installer": "^0.4.3"
  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. "scripts": {
  51. "style": [
  52. "phpcs --report-width=200 --report-summary --report-full classes/src/ --standard=PSR2 -n"
  53. ],
  54. "test": [
  55. "phpunit"
  56. ],
  57. "mess": [
  58. "phpmd classes/src/ xml codesize,unusedcode,design,naming -n"
  59. ],
  60. "lines": [
  61. "phploc classes/src/ -n"
  62. ],
  63. "cpd": [
  64. "phpcpd classes/src/ -n"
  65. ]
  66. },
  67. "minimum-stability": "dev"
  68. }