forked from Treblle/laravel-api-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
82 lines (82 loc) · 2.82 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
{
"name": "treblle/laravel-api-boilerplate",
"type": "project",
"description": "Kick-start you next Laravel based API with this awesome boilerplate",
"keywords": ["api", "boilerplate", "template", "laravel"],
"license": "MIT",
"require": {
"php": "^8.1",
"composer/semver": "^3.2",
"fruitcake/laravel-cors": "^2.0.5",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^9.0",
"laravel/passport": "^12.2",
"laravel/sanctum": "^3.3",
"laravel/tinker": "^2.7",
"treblle/treblle-laravel": "^2.6"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel/sail": "^1.0.1",
"lemaur/toolbox": "^3.0",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^9.5.10",
"spatie/laravel-ignition": "^1.0"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
},
"files": [
"app/Helpers/common.php"
]
},
"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",
"@php artisan ide-helper:generate",
"@php artisan ide-helper:meta"
],
"post-root-package-install": "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"post-create-project-cmd": "@php artisan key:generate --ansi",
"models": "@php artisan ide-helper:models --write",
"analyse": "./vendor/bin/phpstan analyse --memory-limit=2G",
"refactor": "./vendor/bin/rector process",
"format": "./vendor/bin/php-cs-fixer fix --allow-risky=yes",
"test": "./vendor/bin/pest",
"test:fast": "./vendor/bin/pest --parallel",
"test:coverage": "./vendor/bin/pest --coverage --min=100 --coverage-html=.coverage --coverage-clover=coverage.xml",
"test:mutation": "XDEBUG_MODE=coverage ./vendor/bin/infection --test-framework=pest --show-mutations"
},
"extra": {
"laravel": {
"dont-discover": [
"laravel/dusk"
]
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true,
"pestphp/pest-plugin": true,
"phpstan/extension-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true
}