forked from hypervel/hypervel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
90 lines (90 loc) · 2.75 KB
/
Copy pathcomposer.json
File metadata and controls
90 lines (90 loc) · 2.75 KB
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
{
"name": "hypervel/hypervel",
"type": "project",
"keywords": [
"php",
"swoole",
"framework",
"laravel",
"hypervel"
],
"description": "A Laravel-style PHP framework with native coroutine support for ultra-high performance.",
"license": "MIT",
"require": {
"php": ">=8.4",
"hypervel/framework": "^0.4"
},
"require-dev": {
"brianium/paratest": "^7.19",
"fakerphp/faker": "^1.24",
"friendsofphp/php-cs-fixer": "^3.57.2",
"hypervel/watcher": "^0.4",
"mockery/mockery": "1.6.x-dev",
"nunomaduro/collision": "^8.9",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^13.0.3",
"swoole/ide-helper": "^6.0.2"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"hypervel": {
"dont-discover": [],
"test-state": [
"Tests\\Support\\TestState"
]
}
},
"scripts": {
"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"
],
"post-autoload-dump": [
"Hypervel\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=hypervel-assets --ansi --force"
],
"pre-package-uninstall": [
"Hypervel\\Foundation\\ComposerScripts::prePackageUninstall"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"@php artisan dev"
],
"test": [
"@php artisan config:clear --ansi",
"@php artisan test --ansi"
],
"cs-diff": "php-cs-fixer fix --path-mode=intersection `git diff --name-only --diff-filter=ACMRTUXB origin/main..HEAD`",
"cs-fix": "php-cs-fixer fix $1",
"analyse": "phpstan analyse --memory-limit 300M -c phpstan.neon",
"serve": [
"Composer\\Config::disableProcessTimeout",
"php artisan serve"
]
}
}