Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 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", |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 28 | "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 29 | }, |
| 30 | "require-dev": { |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 31 | "doctrine/dbal": "^2.0 || ^3.0", |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 32 | "doctrine/orm": "^2.7", |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 33 | "friendsofphp/php-cs-fixer": "^3.0", |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 34 | "kylekatarnls/multi-tester": "^2.0", |
| 35 | "phpmd/phpmd": "^2.9", |
| 36 | "phpstan/extension-installer": "^1.0", |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 37 | "phpstan/phpstan": "^0.12.54 || ^1.0", |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 38 | "phpunit/phpunit": "^7.5.20 || ^8.5.14", |
| 39 | "squizlabs/php_codesniffer": "^3.4" |
| 40 | }, |
| 41 | "config": { |
| 42 | "process-timeout": 0, |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 43 | "sort-packages": true, |
| 44 | "allow-plugins": { |
| 45 | "phpstan/extension-installer": true |
| 46 | } |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 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", |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 100 | "source": "https://github.com/briannesbitt/Carbon", |
| 101 | "docs": "https://carbon.nesbot.com/docs" |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 102 | } |
| 103 | } |