composer.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "markbaker/complex",
  3. "type": "library",
  4. "description": "PHP Class for working with complex numbers",
  5. "keywords": ["complex", "mathematics"],
  6. "homepage": "https://github.com/MarkBaker/PHPComplex",
  7. "license": "MIT",
  8. "authors": [
  9. {
  10. "name": "Mark Baker",
  11. "email": "mark@lange.demon.co.uk"
  12. }
  13. ],
  14. "config": {
  15. "sort-packages": true,
  16. "allow-plugins": {
  17. "dealerdirect/phpcodesniffer-composer-installer": true,
  18. "markbaker/ukraine": true
  19. }
  20. },
  21. "require": {
  22. "php": "^7.2 || ^8.0"
  23. },
  24. "require-dev": {
  25. "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
  26. "squizlabs/php_codesniffer": "^3.7",
  27. "phpcompatibility/php-compatibility": "^9.3",
  28. "dealerdirect/phpcodesniffer-composer-installer": "dev-master"
  29. },
  30. "autoload": {
  31. "psr-4": {
  32. "Complex\\": "classes/src/"
  33. }
  34. },
  35. "scripts": {
  36. "style": "phpcs --report-width=200 --standard=PSR2 --report=summary,full classes/src/ unitTests/classes/src -n",
  37. "versions": "phpcs --report-width=200 --standard=PHPCompatibility --report=summary,full classes/src/ --runtime-set testVersion 7.2- -n"
  38. },
  39. "minimum-stability": "dev"
  40. }