composer.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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",
  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. "Matrix\\Test\\": "unitTests/classes/src/"
  52. },
  53. "files": [
  54. "unitTests/classes/src/functions/adjointTest.php",
  55. "unitTests/classes/src/functions/antidiagonalTest.php",
  56. "unitTests/classes/src/functions/cofactorsTest.php",
  57. "unitTests/classes/src/functions/determinantTest.php",
  58. "unitTests/classes/src/functions/diagonalTest.php",
  59. "unitTests/classes/src/functions/identityTest.php",
  60. "unitTests/classes/src/functions/inverseTest.php",
  61. "unitTests/classes/src/functions/minorsTest.php",
  62. "unitTests/classes/src/functions/traceTest.php",
  63. "unitTests/classes/src/functions/transposeTest.php",
  64. "unitTests/classes/src/operations/addTest.php",
  65. "unitTests/classes/src/operations/directsumTest.php",
  66. "unitTests/classes/src/operations/subtractTest.php",
  67. "unitTests/classes/src/operations/multiplyTest.php",
  68. "unitTests/classes/src/operations/dividebyTest.php",
  69. "unitTests/classes/src/operations/divideintoTest.php"
  70. ]
  71. },
  72. "scripts": {
  73. "style": "phpcs --report-width=200 --report=summary,full -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. },
  80. "minimum-stability": "dev"
  81. }