-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
122 lines (122 loc) · 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
{
"name": "nocompromises/my-project",
"version": "1.0.0",
"type": "project",
"license": "proprietary",
"require": {
"php": "^8.2",
"ext-pdo": "*",
"ext-redis": "^6.0",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.10",
"laravel/horizon": "^5.21",
"laravel/sanctum": "^3.3",
"owen-it/laravel-auditing": "^13.0",
"sentry/sentry-laravel": "^4.1",
"spatie/laravel-permission": "^5.5"
},
"require-dev": {
"barryvdh/laravel-ide-helper": "^2.12",
"doctrine/dbal": "^3.4",
"fakerphp/faker": "^1.9.1",
"larastan/larastan": "^2.1",
"laravel/telescope": "^4.9",
"laravel/tinker": "^2.8",
"mockery/mockery": "^1.4.4",
"nocompromises/php-cs-fixer-config": "^1.0",
"nunomaduro/collision": "^7.0",
"phpstan/phpstan-mockery": "^1.1",
"phpunit/phpunit": "^10.1",
"roave/security-advisories": "dev-latest"
},
"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 clear-compiled",
"@php artisan ide-helper:generate",
"@php artisan ide-helper:meta",
"@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"
],
"test": [
"phpunit --colors=always"
],
"test-coverage": [
"XDEBUG_MODE=coverage phpunit --colors=always --coverage-html=tests/html-coverage"
],
"test-external": [
"phpunit --colors=always --configuration=phpunit-external.xml"
],
"ide-helper-update": [
"@php artisan clear-compiled",
"@php artisan ide-helper:generate",
"@php artisan ide-helper:meta",
"@php artisan ide-helper:models --write --reset"
],
"phpcs": [
"php-cs-fixer check"
],
"phpcs-fix": [
"php-cs-fixer fix"
],
"larastan": [
"@php vendor/bin/phpstan analyse"
],
"ci": [
"@composer phpcs",
"@composer larastan",
"@composer test"
],
"laravel-cache": [
"@php artisan config:cache",
"@php artisan view:cache",
"@php artisan route:cache"
]
},
"extra": {
"laravel": {
"dont-discover": [
"laravel/telescope"
]
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {}
},
"minimum-stability": "stable",
"prefer-stable": true,
"scripts-descriptions": {
"test": "Runs all of the unit tests",
"test-coverage": "Runs all unit tests with XDebug code coverage, outputs to tests/html-coverage",
"test-external": "Runs the external test suite (tests that hit real APIs)",
"ide-helper-update": "Updates the IDE helper files",
"phpcs": "Runs php-cs-fixer on the configured files and reports errors",
"phpcs-fix": "Runs php-cs-fixer on the configured files and automatically fixes errors",
"larastan": "Runs the Larastan (PHPStan)",
"ci": "Runs tasks that should be done for integration: code sniffing, static analysis, and tests",
"laravel-cache": "Runs Laravel caching commands (for CI and prod)"
}
}