forked from piotzkhider/Laravel.Skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
94 lines (94 loc) · 2.7 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
{
"name": "piotzkhider/laravel-skeleton",
"description": "Generic Laravel project skeleton package",
"keywords": [
"Skeleton",
"laravel"
],
"homepage": "https://github.com/piotzkhider/Laravel.Skeleton",
"license": "MIT",
"require": {
"php": "^7.2",
"fideloper/proxy": "^4.0",
"laravel/framework": "^6.0",
"laravel/tinker": "^1.0"
},
"require-dev": {
"filp/whoops": "^2.0",
"friendsofphp/php-cs-fixer": "^2.15",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^3.0",
"phpmd/phpmd": "^2.7",
"phpstan/phpstan": "^0.11.15",
"phpunit/phpunit": "^8.0",
"roave/security-advisories": "dev-master",
"squizlabs/php_codesniffer": "^3.4",
"vimeo/psalm": "^3.4"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Piotzkhider\\LaravelSkeleton\\": "src/"
},
"classmap": [
"database/seeds",
"database/factories"
]
},
"autoload-dev": {
"psr-4": {
"__Vendor__\\__Package__\\": [
"tests/",
"tests/Fake"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-root-package-install": [
"Piotzkhider\\LaravelSkeleton\\Installer::preInstall",
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"Piotzkhider\\LaravelSkeleton\\Installer::postInstall",
"composer update",
"@php artisan key:generate --ansi"
],
"test": [
"vendor/bin/phpunit"
],
"tests": [
"@cs",
"vendor/bin/phpstan analyse -l max src tests -c phpstan.neon --no-progress",
"vendor/bin/psalm --show-info=false",
"@test"
],
"coverage": [
"php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"
],
"cs": [
"vendor/bin/php-cs-fixer fix -v --dry-run",
"vendor/bin/phpcs src"
],
"cs-fix": [
"vendor/bin/php-cs-fixer fix -v",
"vendor/bin/phpcbf src"
]
}
}