-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
145 lines (133 loc) · 4.84 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
137
138
139
140
141
142
143
144
145
{
"name": "eusonlito/gps-tracker",
"type": "project",
"description": "GPS Tracker platform for Sinotrack ST-90x and OsmAnd devices built with Laravel 10 + PHP 8.1 and MySQL 8. Plataforma GPS Tracker para dispositivos Sinotrack ST-90x y OsmAnd creada con Laravel 10 + PHP 8.1 y MySQL 8.",
"license": "MIT",
"require": {
"php": ">=8.1",
"doctrine/dbal": "^3.5.3",
"eusonlito/captcha": "^1.1.1",
"eusonlito/laravel-meta": "^3.3",
"laravel/framework": "^10.0",
"laravel/helpers": "^1.6",
"predis/predis": "^2.1.1",
"sentry/sentry-laravel": "^3.2",
"sibyx/phpgpx": "^1.2.1"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.7",
"brianium/paratest": "^7.1",
"friendsofphp/php-cs-fixer": "^3.14.3",
"laravel/pint": "^1.4.1",
"nunomaduro/collision": "^7.0",
"nunomaduro/larastan": "^2.4",
"nunomaduro/phpinsights": "^2.8",
"phpcompatibility/php-compatibility": "^9.3",
"phpunit/phpunit": "^10.0",
"psalm/plugin-laravel": "^2.7",
"spatie/laravel-ignition": "^2.0",
"vimeo/psalm": "^5.6"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true
}
},
"autoload": {
"classmap": [
"database/migrations"
],
"psr-4": {
"App\\": "app/",
"Database\\": "database/"
},
"files": [
"app/Services/Helper/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"scripts": {
"post-install-cmd": [
"@composer dump-autoload",
"@composer artisan-cache --ansi"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan test"
],
"artisan-cache-clear": [
"@php artisan optimize:clear --ansi"
],
"artisan-cache": [
"@php artisan optimize --ansi",
"@php artisan view:cache --ansi"
],
"artisan-server-start-all": [
"@php artisan server:start:all --reset || true"
],
"env-version": [
"sed -i 's/CACHE_VERSION=.*/CACHE_VERSION='$(head -c 16 /dev/urandom | md5sum | head -c 32)'/' .env"
],
"deploy": [
"rm -f bootstrap/cache/*.php",
"git checkout .",
"git pull",
"@composer env-version --ansi",
"@composer install --no-dev --optimize-autoloader --classmap-authoritative --ansi",
"@php artisan migrate --force --ansi",
"@php artisan db:seed --force --ansi --class=\"Database\\Seeders\\Database\"",
"@php artisan server:manifest:generate",
"@php artisan queue:restart --ansi",
"@composer artisan-server-start-all"
],
"deploy-dev": [
"rm -f bootstrap/cache/*.php",
"@composer install --optimize-autoloader --classmap-authoritative --ansi",
"@php artisan migrate --force --ansi",
"@php artisan db:seed --class=\"Database\\Seeders\\Database\"",
"@php artisan server:manifest:generate",
"@composer artisan-cache-clear",
"@php artisan queue:restart --ansi",
"@composer artisan-server-start-all"
],
"deploy-docker": [
"rm -f bootstrap/cache/*.php",
"@composer install --no-dev --optimize-autoloader --classmap-authoritative --ansi",
"@php artisan migrate --force --ansi",
"@php artisan db:seed --class=\"Database\\Seeders\\Database\" --force",
"@php artisan server:manifest:generate",
"@php artisan queue:restart --ansi",
"@composer artisan-server-start-all"
],
"fix": [
"@php ./vendor/bin/php-cs-fixer fix -v --ansi",
"@php ./vendor/bin/pint -v"
],
"quality": [
"@php artisan insights --ansi",
"@php ./vendor/bin/phpstan analyse --ansi || true",
"@php ./vendor/bin/psalm || true"
],
"translation": [
"@php artisan core:translation:fix --ansi",
"@php artisan core:translation:fill --ansi",
"@php artisan core:translation:clean --ansi",
"@php artisan core:translation:unused --ansi",
"git checkout resources/lang/*/validation.php"
]
}
}