Nav apraksta

composer.json 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "nesbot/carbon",
  3. "type": "library",
  4. "description": "An API extension for DateTime that supports 281 different languages.",
  5. "keywords": [
  6. "date",
  7. "time",
  8. "DateTime"
  9. ],
  10. "homepage": "https://carbon.nesbot.com",
  11. "license": "MIT",
  12. "authors": [
  13. {
  14. "name": "Brian Nesbitt",
  15. "email": "brian@nesbot.com",
  16. "homepage": "https://markido.com"
  17. },
  18. {
  19. "name": "kylekatarnls",
  20. "homepage": "https://github.com/kylekatarnls"
  21. }
  22. ],
  23. "require": {
  24. "php": "^7.1.8 || ^8.0",
  25. "ext-json": "*",
  26. "symfony/polyfill-mbstring": "^1.0",
  27. "symfony/polyfill-php80": "^1.16",
  28. "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0"
  29. },
  30. "require-dev": {
  31. "doctrine/dbal": "^2.0 || ^3.0",
  32. "doctrine/orm": "^2.7",
  33. "friendsofphp/php-cs-fixer": "^3.0",
  34. "kylekatarnls/multi-tester": "^2.0",
  35. "phpmd/phpmd": "^2.9",
  36. "phpstan/extension-installer": "^1.0",
  37. "phpstan/phpstan": "^0.12.54 || ^1.0",
  38. "phpunit/phpunit": "^7.5.20 || ^8.5.14",
  39. "squizlabs/php_codesniffer": "^3.4"
  40. },
  41. "config": {
  42. "process-timeout": 0,
  43. "sort-packages": true,
  44. "allow-plugins": {
  45. "phpstan/extension-installer": true
  46. }
  47. },
  48. "extra": {
  49. "branch-alias": {
  50. "dev-3.x": "3.x-dev",
  51. "dev-master": "2.x-dev"
  52. },
  53. "laravel": {
  54. "providers": [
  55. "Carbon\\Laravel\\ServiceProvider"
  56. ]
  57. },
  58. "phpstan": {
  59. "includes": [
  60. "extension.neon"
  61. ]
  62. }
  63. },
  64. "autoload": {
  65. "psr-4": {
  66. "Carbon\\": "src/Carbon/"
  67. }
  68. },
  69. "autoload-dev": {
  70. "psr-4": {
  71. "Tests\\": "tests/"
  72. },
  73. "files": [
  74. "tests/Laravel/ServiceProvider.php"
  75. ]
  76. },
  77. "minimum-stability": "dev",
  78. "prefer-stable": true,
  79. "bin": [
  80. "bin/carbon"
  81. ],
  82. "scripts": {
  83. "phpcs": "php-cs-fixer fix -v --diff --dry-run",
  84. "phpdoc": "php phpdoc.php",
  85. "phpmd": "phpmd src text /phpmd.xml",
  86. "phpstan": "phpstan analyse --configuration phpstan.neon",
  87. "phpunit": "phpunit --verbose",
  88. "style-check": [
  89. "@phpcs",
  90. "@phpstan",
  91. "@phpmd"
  92. ],
  93. "test": [
  94. "@phpunit",
  95. "@style-check"
  96. ]
  97. },
  98. "support": {
  99. "issues": "https://github.com/briannesbitt/Carbon/issues",
  100. "source": "https://github.com/briannesbitt/Carbon",
  101. "docs": "https://carbon.nesbot.com/docs"
  102. }
  103. }