-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
96 lines (96 loc) · 3.13 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "api-platform/demo",
"description": "Demo app for the API Platform framework using Laravel",
"type": "project",
"keywords": ["api-platform", "demo", "laravel", "api", "framework"],
"license": "MIT",
"require": {
"php": "^8.3",
"api-platform/laravel": "^4.0.13",
"laravel/framework": "^11.37",
"laravel/tinker": "^v2.10"
},
"require-dev": {
"fakerphp/faker": "^1.24.1",
"laravel/pail": "^1.2.1",
"laravel/pint": "^1.19",
"laravel/sail": "^1.39.1",
"mockery/mockery": "^1.6.12",
"nunomaduro/collision": "^8.5",
"phpunit/phpunit": "^11.5.2"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"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-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
],
"install-tools": [
"composer install --working-dir=tools/php-cs-fixer",
"composer install --working-dir=tools/phpstan",
"composer install --working-dir=tools/rector"
],
"update-tools": [
"composer update --working-dir=tools/php-cs-fixer",
"composer update --working-dir=tools/phpstan",
"composer update --working-dir=tools/rector"
],
"fix-cs": [
"./tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --config=php-cs-fixer.dist.php"
],
"phpstan": [
"./tools/phpstan/vendor/bin/phpstan"
],
"rector": [
"./tools/rector/vendor/bin/rector"
],
"tools": [
"@fix-cs",
"@run-phpstan",
"@run-rector"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true
},
"bump-after-update": true
},
"minimum-stability": "stable",
"prefer-stable": true
}