You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.2 KiB

3 years ago
  1. {
  2. "name": "asm89/stack-cors",
  3. "description": "Cross-origin resource sharing library and stack middleware",
  4. "keywords": ["stack", "cors"],
  5. "homepage": "https://github.com/asm89/stack-cors",
  6. "type": "library",
  7. "license": "MIT",
  8. "authors": [
  9. {
  10. "name": "Alexander",
  11. "email": "iam.asm89@gmail.com"
  12. }
  13. ],
  14. "require": {
  15. "php": "^7.0|^8.0",
  16. "symfony/http-foundation": "~2.7|~3.0|~4.0|~5.0",
  17. "symfony/http-kernel": "~2.7|~3.0|~4.0|~5.0"
  18. },
  19. "require-dev": {
  20. "phpunit/phpunit": "^6|^7|^8|^9",
  21. "squizlabs/php_codesniffer": "^3.5"
  22. },
  23. "autoload": {
  24. "psr-4": {
  25. "Asm89\\Stack\\": "src/"
  26. }
  27. },
  28. "autoload-dev": {
  29. "psr-4": {
  30. "Asm89\\Stack\\Tests\\": "tests/"
  31. }
  32. },
  33. "scripts": {
  34. "test": "phpunit",
  35. "check-style": "phpcs -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src",
  36. "fix-style": "phpcbf -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src"
  37. },
  38. "extra": {
  39. "branch-alias": {
  40. "dev-master": "2.0-dev"
  41. }
  42. }
  43. }