Skip to content

Commit d8efd74

Browse files
author
Marc Geurts
committed
Preparing LARAVEL 13
1 parent 4ab53c1 commit d8efd74

14 files changed

Lines changed: 454 additions & 255 deletions

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ SESSION_LIFETIME=120
3030
SESSION_ENCRYPT=false
3131
SESSION_PATH=/
3232
SESSION_DOMAIN=null
33+
SESSION_SECURE_COOKIE=true
3334

3435
BROADCAST_CONNECTION=log
3536
FILESYSTEM_DISK=local

.env.testing

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ SESSION_LIFETIME=120
3030
SESSION_ENCRYPT=false
3131
SESSION_PATH=/
3232
SESSION_DOMAIN=null
33+
SESSION_SECURE_COOKIE=true
3334

3435
BROADCAST_CONNECTION=log
3536
FILESYSTEM_DISK=local

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
*.log
12
/.phpunit.cache
23
/node_modules
34

composer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"fakerphp/faker": "^1.24",
5959
"larastan/larastan": "^3.9",
6060
"laravel/boost": "^2.4",
61+
"laravel/pail": "^1.2",
6162
"laravel/pint": "^1.29",
6263
"laravel/sail": "^1.55",
6364
"larswiegers/laravel-translations-checker": "^0.9",
@@ -98,6 +99,25 @@
9899
"@php artisan key:generate --ansi",
99100
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
100101
"@php artisan migrate --graceful --ansi"
102+
],
103+
"dev": [
104+
"Composer\\Config::disableProcessTimeout",
105+
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
106+
],
107+
"setup": [
108+
"composer install",
109+
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
110+
"@php artisan key:generate",
111+
"@php artisan migrate --force",
112+
"npm install",
113+
"npm run build"
114+
],
115+
"test": [
116+
"@php artisan config:clear --ansi",
117+
"@php artisan test"
118+
],
119+
"pre-package-uninstall": [
120+
"Illuminate\\Foundation\\ComposerScripts::prePackageUninstall"
101121
]
102122
},
103123
"extra": {

0 commit comments

Comments
 (0)