127 lines
3.5 KiB
JSON
127 lines
3.5 KiB
JSON
|
{
|
||
|
"name": "nesbot/carbon",
|
||
|
"description": "An API extension for DateTime that supports 281 different languages.",
|
||
|
"license": "MIT",
|
||
|
"type": "library",
|
||
|
"keywords": [
|
||
|
"date",
|
||
|
"time",
|
||
|
"DateTime"
|
||
|
],
|
||
|
"authors": [
|
||
|
{
|
||
|
"name": "Brian Nesbitt",
|
||
|
"email": "brian@nesbot.com",
|
||
|
"homepage": "https://markido.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "kylekatarnls",
|
||
|
"homepage": "https://github.com/kylekatarnls"
|
||
|
}
|
||
|
],
|
||
|
"homepage": "https://carbon.nesbot.com",
|
||
|
"support": {
|
||
|
"issues": "https://github.com/briannesbitt/Carbon/issues",
|
||
|
"source": "https://github.com/briannesbitt/Carbon",
|
||
|
"docs": "https://carbon.nesbot.com/docs"
|
||
|
},
|
||
|
"funding": [
|
||
|
{
|
||
|
"url": "https://github.com/sponsors/kylekatarnls",
|
||
|
"type": "github"
|
||
|
},
|
||
|
{
|
||
|
"url": "https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme",
|
||
|
"type": "tidelift"
|
||
|
},
|
||
|
{
|
||
|
"url": "https://opencollective.com/Carbon#sponsor",
|
||
|
"type": "opencollective"
|
||
|
}
|
||
|
],
|
||
|
"require": {
|
||
|
"php": "^7.1.8 || ^8.0",
|
||
|
"ext-json": "*",
|
||
|
"psr/clock": "^1.0",
|
||
|
"symfony/polyfill-mbstring": "^1.0",
|
||
|
"symfony/polyfill-php80": "^1.16",
|
||
|
"symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0"
|
||
|
},
|
||
|
"require-dev": {
|
||
|
"doctrine/dbal": "^2.0 || ^3.1.4",
|
||
|
"doctrine/orm": "^2.7",
|
||
|
"friendsofphp/php-cs-fixer": "^3.0",
|
||
|
"kylekatarnls/multi-tester": "^2.0",
|
||
|
"ondrejmirtes/better-reflection": "*",
|
||
|
"phpmd/phpmd": "^2.9",
|
||
|
"phpstan/extension-installer": "^1.0",
|
||
|
"phpstan/phpstan": "^0.12.99 || ^1.7.14",
|
||
|
"phpunit/php-file-iterator": "^2.0.5 || ^3.0.6",
|
||
|
"phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20",
|
||
|
"squizlabs/php_codesniffer": "^3.4"
|
||
|
},
|
||
|
"provide": {
|
||
|
"psr/clock-implementation": "1.0"
|
||
|
},
|
||
|
"minimum-stability": "dev",
|
||
|
"prefer-stable": true,
|
||
|
"autoload": {
|
||
|
"psr-4": {
|
||
|
"Carbon\\": "src/Carbon/"
|
||
|
}
|
||
|
},
|
||
|
"autoload-dev": {
|
||
|
"psr-4": {
|
||
|
"Tests\\": "tests/"
|
||
|
},
|
||
|
"files": [
|
||
|
"tests/Laravel/ServiceProvider.php"
|
||
|
]
|
||
|
},
|
||
|
"bin": [
|
||
|
"bin/carbon"
|
||
|
],
|
||
|
"config": {
|
||
|
"allow-plugins": {
|
||
|
"phpstan/extension-installer": true,
|
||
|
"composer/package-versions-deprecated": true
|
||
|
},
|
||
|
"process-timeout": 0,
|
||
|
"sort-packages": true
|
||
|
},
|
||
|
"extra": {
|
||
|
"branch-alias": {
|
||
|
"dev-3.x": "3.x-dev",
|
||
|
"dev-master": "2.x-dev"
|
||
|
},
|
||
|
"laravel": {
|
||
|
"providers": [
|
||
|
"Carbon\\Laravel\\ServiceProvider"
|
||
|
]
|
||
|
},
|
||
|
"phpstan": {
|
||
|
"includes": [
|
||
|
"extension.neon"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"scripts": {
|
||
|
"phpcs": "php-cs-fixer fix -v --diff --dry-run",
|
||
|
"phpdoc": "php phpdoc.php",
|
||
|
"phpmd": "phpmd src text /phpmd.xml",
|
||
|
"phpmd-test": "phpmd tests text /tests/phpmd-test.xml",
|
||
|
"phpstan": "phpstan analyse --configuration phpstan.neon",
|
||
|
"phpunit": "phpunit --verbose",
|
||
|
"style-check": [
|
||
|
"@phpcs",
|
||
|
"@phpstan",
|
||
|
"@phpmd"
|
||
|
],
|
||
|
"test": [
|
||
|
"@phpunit",
|
||
|
"@style-check"
|
||
|
],
|
||
|
"sponsors": "php sponsors.php"
|
||
|
}
|
||
|
}
|