-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcomposer.json
More file actions
60 lines (60 loc) · 1.84 KB
/
composer.json
File metadata and controls
60 lines (60 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "jrumbut/eloquent-memoize",
"description": "Memoization for Eloquent (Laravel) Models",
"keywords": [
"Memoization",
"Laravel",
"Eloquent"
],
"homepage": "https://github.com/jrumbut/eloquent-memoize",
"license": "MIT",
"authors": [
{
"name": "Joshua Rumbut",
"email": "joshua.rumbut@gmail.com",
"role": "Developer"
}
],
"require": {
"php": ">=5.5.0",
"illuminate/database": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*|7.*|8.*",
"illuminate/support": "5.1.*|5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*|7.*|8.*"
},
"require-dev": {
"phpunit/phpunit": "~4.8 || ~5.0",
"squizlabs/php_codesniffer": "~2.3",
"phpmd/phpmd": "~2.3"
},
"autoload": {
"psr-4": {
"Jrumbut\\EloquentMemoize\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Jrumbut\\EloquentMemoize\\": [
"tests/",
"tests/Models"
]
}
},
"scripts": {
"test": [
"phpmd src text ./phpmd.xml",
"phpcs src tests",
"phpunit"
],
"cs-fix": [
"php-cs-fixer fix --config-file=./.php_cs",
"phpcbf src"
],
"build": [
"rm -rf ./build; mkdir -p ./build/logs ./build/pdepend ./build/api",
"pdepend --jdepend-xml=./build/logs/jdepend.xml --jdepend-chart=./build/pdepend/dependencies.svg --overview-pyramid=./build/pdepend/overview-pyramid.svg src",
"phploc --log-csv ./build/logs/phploc.csv src",
"phpcs --report=checkstyle --report-file=./build/logs/checkstyle.xml --standard=phpcs.xml src",
"apigen generate -s src -d build/api --debug",
"@test"
]
}
}