composer.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "dragon-code/contracts",
  3. "description": "A set of contracts for any project",
  4. "license": "MIT",
  5. "type": "library",
  6. "keywords": [
  7. "contracts",
  8. "interfaces"
  9. ],
  10. "authors": [
  11. {
  12. "name": "Andrey Helldar",
  13. "email": "helldar@dragon-code.pro",
  14. "homepage": "https://dragon-code.pro"
  15. }
  16. ],
  17. "support": {
  18. "source": "https://github.com/TheDragonCode/contracts"
  19. },
  20. "funding": [
  21. {
  22. "type": "boosty",
  23. "url": "https://boosty.to/dragon-code"
  24. },
  25. {
  26. "type": "yoomoney",
  27. "url": "https://yoomoney.ru/to/410012608840929"
  28. }
  29. ],
  30. "require": {
  31. "php": "^7.2.5 || ^8.0",
  32. "psr/http-message": "^1.0.1 || ^2.0",
  33. "symfony/http-kernel": "^4.0 || ^5.0 || ^6.0 || ^7.0",
  34. "symfony/polyfill-php80": "^1.23"
  35. },
  36. "require-dev": {
  37. "illuminate/database": "^10.0 || ^11.0 || ^12.0",
  38. "phpdocumentor/reflection-docblock": "^5.0"
  39. },
  40. "conflict": {
  41. "andrey-helldar/contracts": "*"
  42. },
  43. "minimum-stability": "stable",
  44. "prefer-stable": true,
  45. "autoload": {
  46. "psr-4": {
  47. "DragonCode\\Contracts\\": "src"
  48. }
  49. },
  50. "config": {
  51. "allow-plugins": {
  52. "dragon-code/codestyler": true,
  53. "ergebnis/composer-normalize": true,
  54. "friendsofphp/php-cs-fixer": true,
  55. "symfony/thanks": true
  56. },
  57. "preferred-install": "dist",
  58. "sort-packages": true
  59. }
  60. }