Upgrade to Laravel 5.6 #165

This commit is contained in:
Nabeel Shahzad 2018-02-19 11:09:56 -06:00
parent 3d9d17d9b9
commit 1bb77e1d4b
5 changed files with 796 additions and 515 deletions

View File

@ -8,17 +8,17 @@
"homepage": "http://www.phpvms.net",
"require": {
"php": ">=7.1",
"laravel/framework": "5.5.*",
"laravel/framework": "5.6.*",
"php-http/httplug": "1.1.0",
"laravelcollective/html": "5.5.x",
"laravelcollective/html": "5.6.x",
"prettus/l5-repository": "2.6.x",
"spatie/laravel-pjax": "1.3.x",
"league/geotools": "0.7.x",
"league/geotools": "0.7.x-dev",
"toin0u/geotools-laravel": "1.0.x",
"webpatser/laravel-uuid": "3.0.x",
"composer/semver": "1.4.x",
"hashids/hashids": "2.0.x",
"nwidart/laravel-modules": "2.6.x",
"nwidart/laravel-modules": "^3.0",
"sebastiaanluca/laravel-helpers": "1.0.x",
"jackiedo/timezonelist": "5.x",
"tivie/php-os-detector": "1.1.x",
@ -38,15 +38,14 @@
"php-units-of-measure/php-units-of-measure": "2.1.x"
},
"require-dev": {
"phpunit/phpunit": "6.4.x",
"phpunit/phpunit": "~7.0",
"barryvdh/laravel-ide-helper": "2.4.x",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"filp/whoops": "~2.0",
"bpocallaghan/generators": "5.0.1",
"zircote/swagger-php": "2.0.13",
"nunomaduro/collision": "^1.1"
"nunomaduro/collision": "^2.0"
},
"autoload": {
"classmap": [

1227
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -17,10 +17,6 @@ return [
'locale' => env('APP_LOCALE', 'en'),
'fallback_locale' => 'en',
'log' => env('APP_LOG', 'daily'),
'log_level' => env('APP_LOG_LEVEL', 'debug'),
'log_max_files' => env('APP_LOG_MAX_FILES', 5),
# This sends install and vaCentral specific information to help with
# optimizations and figuring out where slowdowns might be happening
'analytics' => true,

60
config/logging.php Normal file
View File

@ -0,0 +1,60 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Log Channel
|--------------------------------------------------------------------------
|
| This option defines the default log channel that gets used when writing
| messages to the logs. The name specified in this option should match
| one of the channels defined in the "channels" configuration array.
|
*/
'default' => env('LOG_CHANNEL', 'stack'),
/*
|--------------------------------------------------------------------------
| Log Channels
|--------------------------------------------------------------------------
|
| Here you may configure the log channels for your application. Out of
| the box, Laravel uses the Monolog PHP logging library. This gives
| you a variety of powerful log handlers / formatters to utilize.
|
| Available Drivers: "single", "daily", "slack", "syslog",
| "errorlog", "custom", "stack"
|
*/
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['daily'],
],
'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
],
'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'days' => 3,
],
'slack' => [
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => 'Laravel Log',
'emoji' => ':boom:',
'level' => 'critical',
],
'syslog' => [
'driver' => 'syslog',
'level' => 'debug',
],
'errorlog' => [
'driver' => 'errorlog',
'level' => 'debug',
],
],
];

View File

@ -44,6 +44,13 @@ return [
],
],
'logging' => [
'channels' => [
'single' => ['level' => 'debug'],
'daily' => ['level' => 'debug'],
],
],
# overrides mail.php
'mail' => [
'driver' => 'smtp',