-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
68 lines (68 loc) · 2.12 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
59
60
61
62
63
64
65
66
67
68
{
"name": "spoorsny/laravel-model-validating-observer",
"type": "library",
"description": "An observer that validates an Eloquent model instance before it is persisted to the database.",
"keywords": [
"laravel",
"package"
],
"license": "GPL-3.0-or-later",
"require": {
"php": "^8.3"
},
"require-dev": {
"ext-xdebug": "*",
"fakerphp/faker": "^1.23",
"laravel/framework": "^11.9",
"laravel/pint": "^1.13",
"laravel/sail": "^1.26",
"laravel/tinker": "^2.9",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.0",
"phpunit/phpunit": "^11.0.1",
"rregeer/phpunit-coverage-check": "^0.3.1"
},
"autoload": {
"psr-4": {
"Spoorsny\\Laravel\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Spoorsny\\Laravel\\Tests\\": "tests/"
}
},
"scripts": {
"cs-fix": "./vendor/bin/pint --preset psr12",
"test": "./artisan test",
"test-coverage": "XDEBUG_MODE=coverage ./artisan test --coverage --coverage-clover phpunit-code-coverage-clover.xml",
"test-coverage-check": "./vendor/bin/coverage-check phpunit-code-coverage-clover.xml 100 --only-percentage",
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-install-cmd": [
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}