Skip to content
This repository was archived by the owner on Feb 20, 2024. It is now read-only.

Commit 9f9ae82

Browse files
author
Sagar Chamling
committed
Migrate 5.5 to 5.6
1 parent 8790d0b commit 9f9ae82

File tree

3 files changed

+688
-389
lines changed

3 files changed

+688
-389
lines changed

.env.example

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ APP_NAME="SB Admin 2 | cham11ng"
22
APP_ENV=local
33
APP_KEY=
44
APP_DEBUG=true
5-
APP_LOG_LEVEL=debug
65
APP_URL=http://localhost
76

7+
LOG_CHANNEL=stack
8+
89
DB_CONNECTION=mysql
910
DB_HOST=127.0.0.1
1011
DB_PORT=3306
@@ -15,6 +16,7 @@ DB_PASSWORD=secret
1516
BROADCAST_DRIVER=log
1617
CACHE_DRIVER=file
1718
SESSION_DRIVER=file
19+
SESSION_LIFETIME=120
1820
QUEUE_DRIVER=sync
1921

2022
REDIS_HOST=127.0.0.1
@@ -31,3 +33,7 @@ MAIL_ENCRYPTION=null
3133
PUSHER_APP_ID=
3234
PUSHER_APP_KEY=
3335
PUSHER_APP_SECRET=
36+
PUSHER_APP_CLUSTER=mt1
37+
38+
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
39+
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

composer.json

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,23 @@
55
"license": "MIT",
66
"type": "project",
77
"require": {
8-
"php": ">=5.6.4",
9-
"laravel/framework": "5.5.*",
8+
"php": ">=7.1.3",
9+
"fideloper/proxy": "~4.0",
10+
"laravel/framework": "5.6.*",
1011
"laravel/tinker": "~1.0"
1112
},
1213
"require-dev": {
1314
"filp/whoops": "~2.0",
1415
"fzaninotto/faker": "~1.4",
15-
"mockery/mockery": "0.9.*",
16-
"phpunit/phpunit": "~5.7"
16+
"mockery/mockery": "~1.0",
17+
"nunomaduro/collision": "~2.0",
18+
"phpunit/phpunit": "~7.0",
19+
"symfony/thanks": "^1.0"
1720
},
1821
"autoload": {
1922
"classmap": [
20-
"database"
23+
"database/seeds",
24+
"database/factories"
2125
],
2226
"psr-4": {
2327
"App\\": "app/"
@@ -28,29 +32,29 @@
2832
"Tests\\": "tests/"
2933
}
3034
},
35+
"extra": {
36+
"laravel": {
37+
"dont-discover": [
38+
]
39+
}
40+
},
3141
"scripts": {
32-
"post-autoload-dump": [
33-
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
34-
"@php artisan package:discover"
35-
],
3642
"post-root-package-install": [
37-
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
43+
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
3844
],
3945
"post-create-project-cmd": [
40-
"php artisan key:generate"
46+
"@php artisan key:generate"
4147
],
42-
"post-install-cmd": [
43-
"Illuminate\\Foundation\\ComposerScripts::postInstall",
44-
"php artisan optimize"
45-
],
46-
"post-update-cmd": [
47-
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
48-
"php artisan optimize"
48+
"post-autoload-dump": [
49+
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
50+
"@php artisan package:discover"
4951
]
5052
},
5153
"config": {
5254
"preferred-install": "dist",
5355
"sort-packages": true,
5456
"optimize-autoloader": true
55-
}
57+
},
58+
"minimum-stability": "dev",
59+
"prefer-stable": true
5660
}

0 commit comments

Comments
 (0)