-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
58 lines (58 loc) · 1.92 KB
/
composer.json
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
{
"name": "korridor/laravel-computed-attributes",
"description": "Laravel package that adds computed attributes to eloquent models. A computed attribute is an accessor were the computed value is saved in the database.",
"keywords": ["laravel", "model", "eloquent", "computed", "attribute", "caching", "performance", "accessor"],
"homepage": "https://github.com/korridor/laravel-computed-attributes",
"license": "MIT",
"authors": [
{
"name": "korridor",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"composer/composer": "^2",
"illuminate/console": "^10|^11",
"illuminate/database": "^10|^11",
"illuminate/support": "^10|^11"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3",
"larastan/larastan": "^2.9",
"orchestra/testbench": "^8|^9",
"phpunit/phpunit": "^10",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": {
"Korridor\\LaravelComputedAttributes\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Korridor\\LaravelComputedAttributes\\Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"test-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --coverage-html coverage",
"fix": "./vendor/bin/php-cs-fixer fix",
"lint": "./vendor/bin/phpcs --error-severity=1 --warning-severity=8 --extensions=php",
"analyse": [
"@php ./vendor/bin/phpstan analyse --memory-limit=2G"
]
},
"extra": {
"laravel": {
"providers": [
"Korridor\\LaravelComputedAttributes\\LaravelComputedAttributesServiceProvider"
]
}
},
"config": {
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}