composer.json 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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. "require": {
  15. "php": "^7.2 || ^8.0"
  16. },
  17. "require-dev": {
  18. "phpunit/phpunit": "^7.0 || ^8.0 || ^9.3",
  19. "squizlabs/php_codesniffer": "^3.4",
  20. "phpcompatibility/php-compatibility": "^9.0",
  21. "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0"
  22. },
  23. "autoload": {
  24. "psr-4": {
  25. "Complex\\": "classes/src/"
  26. }
  27. },
  28. "scripts": {
  29. "style": "phpcs --report-width=200 --standard=PSR2 --report=summary,full classes/src/ unitTests/classes/src -n",
  30. "versions": "phpcs --report-width=200 --standard=PHPCompatibility --report=summary,full classes/src/ --runtime-set testVersion 7.2- -n"
  31. },
  32. "minimum-stability": "dev"
  33. }