-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
136 lines (136 loc) · 4.4 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^8.2",
"doctrine/dbal": "^3.6",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.0",
"laravel/sanctum": "^3.2",
"laravel/telescope": "^4.14",
"laravel/tinker": "^2.8"
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^2.13",
"brainmaestro/composer-git-hooks": "dev-master",
"enlightn/security-checker": "^1.10",
"fakerphp/faker": "^1.9.1",
"laravel/breeze": "^1.19",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.1",
"nunomaduro/phpinsights": "^2.7",
"pestphp/pest": "^1.22",
"pestphp/pest-plugin-laravel": "^1.4",
"pestphp/pest-plugin-parallel": "^1.2",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpmd/phpmd": "^2.13",
"phpunit/phpunit": "^9.6",
"spatie/laravel-ignition": "^2.0"
},
"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"
],
"dev": [
"@post-root-package-install",
"@putenv CACHE_DRIVER=file",
"@post-create-project-cmd",
"@php artisan migrate",
"chmod -R 777 storage bootstrap",
"@cghooks",
"@ide-helper"
],
"deployer": [
"@post-root-package-install",
"@post-create-project-cmd",
"chmod -R 777 storage bootstrap"
],
"cghooks": "[ -f vendor/bin/cghooks ] && vendor/bin/cghooks update || echo 'cghooks not found'",
"ide-helper": [
"@php artisan ide-helper:generate -n",
"@php artisan ide-helper:meta -n",
"@php artisan ide-helper:models -n"
],
"parallel-lint": "vendor/bin/parallel-lint app --colors",
"phpmd": "vendor/bin/phpmd . text phpmd_ruleset.xml --exclude vendor,_ide_helper.php,database,app/Console/Kernel.php,tests",
"security-checker": "vendor/bin/security-checker security:check",
"pint": "vendor/bin/pint app",
"pest": "vendor/bin/pest --stop-on-failure --parallel",
"p": "vendor/bin/pest --stop-on-failure --parallel --coverage",
"pre-commit": [
"@parallel-lint",
"@phpmd",
"@security-checker",
"@pint"
],
"pre-push": [
"@pint"
],
"post-merge": [
"@php artisan migrate",
"composer install",
"echo \"\nSeed, if in need: \\e[32mphp artisan db:seed\\e[0m\"\n"
]
},
"extra": {
"laravel": {
"dont-discover": []
},
"hooks": {
"config": {
"stop-on-failure": [
"pre-commit",
"pre-push"
]
},
"pre-commit": [
"docker-compose exec -T x-api composer run pre-commit"
],
"pre-push": [
"docker-compose exec -T x-api composer run pre-push"
],
"post-merge": [
"docker-compose exec -T x-api composer run post-merge"
]
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}