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.

composer.json 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "nesbot/carbon",
  3. "type": "library",
  4. "description": "A simple API extension for DateTime.",
  5. "keywords": [
  6. "date",
  7. "time",
  8. "DateTime"
  9. ],
  10. "homepage": "http://carbon.nesbot.com",
  11. "support": {
  12. "issues": "https://github.com/briannesbitt/Carbon/issues",
  13. "source": "https://github.com/briannesbitt/Carbon"
  14. },
  15. "license": "MIT",
  16. "authors": [
  17. {
  18. "name": "Brian Nesbitt",
  19. "email": "brian@nesbot.com",
  20. "homepage": "http://nesbot.com"
  21. }
  22. ],
  23. "minimum-stability": "dev",
  24. "require": {
  25. "php": "^7.1.8 || ^8.0",
  26. "ext-json": "*",
  27. "symfony/translation": "^3.4 || ^4.0"
  28. },
  29. "require-dev": {
  30. "friendsofphp/php-cs-fixer": "^2.14 || ^3.0",
  31. "kylekatarnls/multi-tester": "^1.1",
  32. "phpmd/phpmd": "^2.6",
  33. "phpstan/phpstan": "^0.11",
  34. "phpunit/phpunit": "^7.5 || ^8.0",
  35. "squizlabs/php_codesniffer": "^3.4"
  36. },
  37. "autoload": {
  38. "psr-4": {
  39. "Carbon\\": "src/Carbon/"
  40. }
  41. },
  42. "autoload-dev": {
  43. "psr-4": {
  44. "Tests\\": "tests/"
  45. }
  46. },
  47. "config": {
  48. "process-timeout": 0,
  49. "sort-packages": true
  50. },
  51. "scripts": {
  52. "test": [
  53. "@phpunit",
  54. "@phpcs"
  55. ],
  56. "phpunit": "phpunit --verbose",
  57. "phpcs": "php-cs-fixer fix -v --diff --dry-run",
  58. "phpstan": "phpstan analyse --configuration phpstan.neon --level 3 src tests",
  59. "phpmd": "phpmd src text /phpmd.xml",
  60. "phpdoc": "php phpdoc.php"
  61. },
  62. "extra": {
  63. "laravel": {
  64. "providers": [
  65. "Carbon\\Laravel\\ServiceProvider"
  66. ]
  67. }
  68. }
  69. }