composer.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "barryvdh/laravel-cors",
  3. "description": "Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application",
  4. "keywords": ["laravel", "cors", "crossdomain", "api"],
  5. "license": "MIT",
  6. "authors": [
  7. {
  8. "name": "Barry vd. Heuvel",
  9. "email": "barryvdh@gmail.com"
  10. }
  11. ],
  12. "require": {
  13. "php": ">=7",
  14. "illuminate/support": "^5.5|^6",
  15. "symfony/http-foundation": "^3.1|^4",
  16. "symfony/http-kernel": "^3.1|^4",
  17. "asm89/stack-cors": "^1.2"
  18. },
  19. "autoload": {
  20. "psr-4": {
  21. "Barryvdh\\Cors\\": "src/"
  22. }
  23. },
  24. "autoload-dev": {
  25. "psr-4": {
  26. "Barryvdh\\Cors\\Tests\\": "tests/"
  27. }
  28. },
  29. "extra": {
  30. "branch-alias": {
  31. "dev-master": "0.11-dev"
  32. },
  33. "laravel": {
  34. "providers": [
  35. "Barryvdh\\Cors\\ServiceProvider"
  36. ]
  37. }
  38. },
  39. "require-dev": {
  40. "laravel/framework": "^5.5",
  41. "phpunit/phpunit": "^4.8|^5.2|^7.0",
  42. "orchestra/testbench": "3.3.x|3.4.x|3.5.x|3.6.x|3.7.x",
  43. "squizlabs/php_codesniffer": "^2.3"
  44. },
  45. "scripts": {
  46. "test": "phpunit",
  47. "check-style": "phpcs -p --standard=PSR2 src/",
  48. "fix-style": "phpcbf -p --standard=PSR2 src/"
  49. },
  50. "minimum-stability": "dev",
  51. "prefer-stable": true
  52. }