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
|
"require": {
|
24
|
"php": ">=5.3.9",
|
25
|
"symfony/translation": "~2.6 || ~3.0 || ~4.0"
|
26
|
},
|
27
|
"require-dev": {
|
28
|
"friendsofphp/php-cs-fixer": "~2",
|
29
|
"phpunit/phpunit": "^4.8.35 || ^5.7"
|
30
|
},
|
31
|
"autoload": {
|
32
|
"psr-4": {
|
33
|
"Carbon\\": "src/Carbon/"
|
34
|
}
|
35
|
},
|
36
|
"autoload-dev": {
|
37
|
"psr-4": {
|
38
|
"Tests\\": "tests/"
|
39
|
}
|
40
|
},
|
41
|
"extra": {
|
42
|
"branch-alias": {
|
43
|
"dev-master": "1.23-dev"
|
44
|
}
|
45
|
},
|
46
|
"config": {
|
47
|
"sort-packages": true
|
48
|
},
|
49
|
"scripts": {
|
50
|
"test": [
|
51
|
"@phpunit",
|
52
|
"@phpcs"
|
53
|
],
|
54
|
"phpunit": "phpunit --verbose --coverage-clover=coverage.xml",
|
55
|
"phpcs": "php-cs-fixer fix -v --diff --dry-run",
|
56
|
"phpstan": "phpstan analyse --configuration phpstan.neon --level 3 src tests"
|
57
|
}
|
58
|
}
|