composer.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "ulrichsg/getopt-php",
  3. "type": "library",
  4. "description": "Command line arguments parser for PHP 5.4 - 7.3",
  5. "homepage": "http://getopt-php.github.io/getopt-php",
  6. "license": "MIT",
  7. "authors": [
  8. {
  9. "name": "Ulrich Schmidt-Goertz",
  10. "email": "ulrich@schmidt-goertz.de"
  11. },
  12. {
  13. "name": "Thomas Flori",
  14. "email": "thflori@gmail.com"
  15. }
  16. ],
  17. "require": {
  18. "php": ">=5.4.0",
  19. "ext-mbstring": "*"
  20. },
  21. "require-dev": {
  22. "phpunit/phpunit": "^4.8",
  23. "squizlabs/php_codesniffer": "^2.7"
  24. },
  25. "autoload": {
  26. "psr-4": {
  27. "GetOpt\\": "src"
  28. }
  29. },
  30. "autoload-dev": {
  31. "psr-4": {
  32. "GetOpt\\Test\\": "test"
  33. }
  34. },
  35. "scripts": {
  36. "code-style": "vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpcs --standard=PSR2 test",
  37. "test": "vendor/bin/phpunit -c phpunit.xml",
  38. "coverage": "vendor/bin/phpunit -c phpunit.xml --coverage-clover=build/coverage.xml --coverage-html=build/coverage --coverage-text"
  39. }
  40. }