Apply Laravel coding style

Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions.

You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root.

For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
This commit is contained in:
Shift
2023-01-03 08:25:25 +00:00
parent b535aa90eb
commit 43386fd86d
357 changed files with 15021 additions and 15193 deletions

View File

@@ -97,7 +97,7 @@ return [
| will not be safe. Please do this before deploying an application!
|
*/
'key' => env('APP_KEY', 'base64:h3KjrHeVxyE+j6c8whTAs2YI+7goylGZ/e2vElgXT6I='),
'key' => env('APP_KEY', 'base64:h3KjrHeVxyE+j6c8whTAs2YI+7goylGZ/e2vElgXT6I='),
'cipher' => 'AES-256-CBC',
/*
|--------------------------------------------------------------------------
@@ -201,61 +201,61 @@ return [
|
*/
'aliases' => [
'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan',
'Auth' => 'Illuminate\Support\Facades\Auth',
'Blade' => 'Illuminate\Support\Facades\Blade',
'Cache' => 'Illuminate\Support\Facades\Cache',
'Config' => 'Illuminate\Support\Facades\Config',
'Cookie' => 'Illuminate\Support\Facades\Cookie',
'Crypt' => 'Illuminate\Support\Facades\Crypt',
'DB' => 'Illuminate\Support\Facades\DB',
'Eloquent' => 'Illuminate\Database\Eloquent\Model',
'Event' => 'Illuminate\Support\Facades\Event',
'File' => 'Illuminate\Support\Facades\File',
'Hash' => 'Illuminate\Support\Facades\Hash',
'Input' => 'Illuminate\Support\Facades\Input',
'Inspiring' => 'Illuminate\Foundation\Inspiring',
'Lang' => 'Illuminate\Support\Facades\Lang',
'Log' => 'Illuminate\Support\Facades\Log',
'Mail' => 'Illuminate\Support\Facades\Mail',
'Password' => 'Illuminate\Support\Facades\Password',
'Queue' => 'Illuminate\Support\Facades\Queue',
'Redirect' => 'Illuminate\Support\Facades\Redirect',
'Redis' => 'Illuminate\Support\Facades\Redis',
'Request' => 'Illuminate\Support\Facades\Request',
'Response' => 'Illuminate\Support\Facades\Response',
'Route' => 'Illuminate\Support\Facades\Route',
'Schema' => 'Illuminate\Support\Facades\Schema',
'Session' => 'Illuminate\Support\Facades\Session',
'Storage' => 'Illuminate\Support\Facades\Storage',
'URL' => 'Illuminate\Support\Facades\URL',
'Validator' => 'Illuminate\Support\Facades\Validator',
'View' => 'Illuminate\Support\Facades\View',
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
'phone' => 'The :attribute field contains an invalid number.',
'Bugsnag' => 'Bugsnag\BugsnagLaravel\BugsnagFacade',
'PDF' => 'Vsmoraes\Pdf\PdfFacade',
'Gravatar' => 'Thomaswelton\LaravelGravatar\Facades\Gravatar',
'UTC' => 'App\Http\Controllers\Agent\helpdesk\TicketController',
'Ttable' => 'App\Http\Controllers\Agent\helpdesk\TicketController', //to use getTable function.
'SMTPS' => 'App\Http\Controllers\HomeController',
'Datatable' => 'Chumper\Datatable\Facades\DatatableFacade',
'Zipper' => 'Chumper\Zipper\Zipper',
'JWTAuth' => 'Tymon\JWTAuth\Facades\JWTAuth',
'JWTFactory' => 'Tymon\JWTAuth\Facades\JWTFactory',
'Breadcrumbs' => 'DaveJamesMiller\Breadcrumbs\Facade',
'GeoIP' => \Torann\GeoIP\Facades\GeoIP::class,
'Image' => Intervention\Image\Facades\Image::class,
'FCM' => LaravelFCM\Facades\FCM::class,
'FCMGroup' => LaravelFCM\Facades\FCMGroup::class,
'Debugbar' => Barryvdh\Debugbar\Facade::class,
'Excel' => Maatwebsite\Excel\Facades\Excel::class,
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
'UnAuth' => 'App\Http\Controllers\Client\helpdesk\UnAuthController',
'Finder' => App\Helper\Finder::class,
'Datatables' => Yajra\Datatables\Facades\Datatables::class,
'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan',
'Auth' => 'Illuminate\Support\Facades\Auth',
'Blade' => 'Illuminate\Support\Facades\Blade',
'Cache' => 'Illuminate\Support\Facades\Cache',
'Config' => 'Illuminate\Support\Facades\Config',
'Cookie' => 'Illuminate\Support\Facades\Cookie',
'Crypt' => 'Illuminate\Support\Facades\Crypt',
'DB' => 'Illuminate\Support\Facades\DB',
'Eloquent' => 'Illuminate\Database\Eloquent\Model',
'Event' => 'Illuminate\Support\Facades\Event',
'File' => 'Illuminate\Support\Facades\File',
'Hash' => 'Illuminate\Support\Facades\Hash',
'Input' => 'Illuminate\Support\Facades\Input',
'Inspiring' => 'Illuminate\Foundation\Inspiring',
'Lang' => 'Illuminate\Support\Facades\Lang',
'Log' => 'Illuminate\Support\Facades\Log',
'Mail' => 'Illuminate\Support\Facades\Mail',
'Password' => 'Illuminate\Support\Facades\Password',
'Queue' => 'Illuminate\Support\Facades\Queue',
'Redirect' => 'Illuminate\Support\Facades\Redirect',
'Redis' => 'Illuminate\Support\Facades\Redis',
'Request' => 'Illuminate\Support\Facades\Request',
'Response' => 'Illuminate\Support\Facades\Response',
'Route' => 'Illuminate\Support\Facades\Route',
'Schema' => 'Illuminate\Support\Facades\Schema',
'Session' => 'Illuminate\Support\Facades\Session',
'Storage' => 'Illuminate\Support\Facades\Storage',
'URL' => 'Illuminate\Support\Facades\URL',
'Validator' => 'Illuminate\Support\Facades\Validator',
'View' => 'Illuminate\Support\Facades\View',
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
'phone' => 'The :attribute field contains an invalid number.',
'Bugsnag' => 'Bugsnag\BugsnagLaravel\BugsnagFacade',
'PDF' => 'Vsmoraes\Pdf\PdfFacade',
'Gravatar' => 'Thomaswelton\LaravelGravatar\Facades\Gravatar',
'UTC' => 'App\Http\Controllers\Agent\helpdesk\TicketController',
'Ttable' => 'App\Http\Controllers\Agent\helpdesk\TicketController', //to use getTable function.
'SMTPS' => 'App\Http\Controllers\HomeController',
'Datatable' => 'Chumper\Datatable\Facades\DatatableFacade',
'Zipper' => 'Chumper\Zipper\Zipper',
'JWTAuth' => 'Tymon\JWTAuth\Facades\JWTAuth',
'JWTFactory' => 'Tymon\JWTAuth\Facades\JWTFactory',
'Breadcrumbs' => 'DaveJamesMiller\Breadcrumbs\Facade',
'GeoIP' => \Torann\GeoIP\Facades\GeoIP::class,
'Image' => Intervention\Image\Facades\Image::class,
'FCM' => LaravelFCM\Facades\FCM::class,
'FCMGroup' => LaravelFCM\Facades\FCMGroup::class,
'Debugbar' => Barryvdh\Debugbar\Facade::class,
'Excel' => Maatwebsite\Excel\Facades\Excel::class,
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
'UnAuth' => 'App\Http\Controllers\Client\helpdesk\UnAuthController',
'Finder' => App\Helper\Finder::class,
'Datatables' => Yajra\Datatables\Facades\Datatables::class,
'Notification' => Illuminate\Support\Facades\Notification::class,
],
];

View File

@@ -12,7 +12,7 @@ return [
|
*/
'defaults' => [
'guard' => 'web',
'guard' => 'web',
'passwords' => 'users',
],
/*
@@ -33,11 +33,11 @@ return [
*/
'guards' => [
'web' => [
'driver' => 'session',
'driver' => 'session',
'provider' => 'users',
],
'api' => [
'driver' => 'token',
'driver' => 'token',
'provider' => 'users',
],
],
@@ -60,7 +60,7 @@ return [
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\User::class,
'model' => App\User::class,
],
// 'users' => [
// 'driver' => 'database',
@@ -88,9 +88,9 @@ return [
'passwords' => [
'users' => [
'provider' => 'users',
'email' => 'auth.emails.password',
'table' => 'password_resets',
'expire' => 60,
'email' => 'auth.emails.password',
'table' => 'password_resets',
'expire' => 60,
],
],
];

View File

@@ -30,13 +30,13 @@ return [
'pusher' => [
'driver' => 'pusher',
'key' => env('PUSHER_KEY'),
'key' => env('PUSHER_KEY'),
'secret' => env('PUSHER_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
],
'redis' => [
'driver' => 'redis',
'driver' => 'redis',
'connection' => 'default',
],

View File

@@ -33,16 +33,16 @@ return [
'driver' => 'array',
],
'database' => [
'driver' => 'database',
'table' => 'cache',
'driver' => 'database',
'table' => 'cache',
'connection' => null,
],
'file' => [
'driver' => 'file',
'path' => storage_path().'/framework/cache',
'path' => storage_path().'/framework/cache',
],
'memcached' => [
'driver' => 'memcached',
'driver' => 'memcached',
'servers' => [
[
'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100,
@@ -50,7 +50,7 @@ return [
],
],
'redis' => [
'driver' => 'redis',
'driver' => 'redis',
'connection' => 'default',
],
],

View File

@@ -44,7 +44,7 @@ return [
*/
'options' => [
'sPaginationType' => 'full_numbers',
'bProcessing' => true,
'bProcessing' => true,
],
/*
|--------------------------------------------------------------------------
@@ -116,7 +116,7 @@ return [
*/
'classmap' => [
'CollectionEngine' => 'Chumper\Datatable\Engines\CollectionEngine',
'QueryEngine' => 'Chumper\Datatable\Engines\QueryEngine',
'Table' => 'Chumper\Datatable\Table',
'QueryEngine' => 'Chumper\Datatable\Engines\QueryEngine',
'Table' => 'Chumper\Datatable\Table',
],
];

View File

@@ -43,42 +43,42 @@ return [
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'driver' => 'sqlite',
'database' => storage_path().'/database.sqlite',
'prefix' => '',
'prefix' => '',
],
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE'),
'username' => env('DB_USERNAME'),
'password' => env('DB_PASSWORD'),
'charset' => 'utf8',
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE'),
'username' => env('DB_USERNAME'),
'password' => env('DB_PASSWORD'),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'port' => env('DB_PORT', ''),
'prefix' => '',
'strict' => false,
'port' => env('DB_PORT', ''),
'prefix' => '',
'strict' => false,
],
'pgsql' => [
'driver' => 'pgsql',
'host' => env('DB_HOST', 'localhost'),
'driver' => 'pgsql',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'port' => env('DB_PORT', ''),
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
'port' => env('DB_PORT', ''),
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'host' => env('DB_HOST', 'localhost'),
'driver' => 'sqlsrv',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'port' => env('DB_PORT', ''),
'prefix' => '',
'port' => env('DB_PORT', ''),
'prefix' => '',
],
],
/*
@@ -116,8 +116,8 @@ return [
'cluster' => false,
'default' => [
'host' => '127.0.0.1',
'port' => 6379,
'host' => '127.0.0.1',
'port' => 6379,
'database' => 0,
],
],

View File

@@ -4,12 +4,12 @@ return [
/*
* DataTables search options.
*/
'search' => [
'search' => [
/*
* Smart search will enclose search keyword with wildcard string "%keyword%".
* SQL: column LIKE "%keyword%"
*/
'smart' => true,
'smart' => true,
/*
* Case insensitive will search the keyword in lower case format.
@@ -21,17 +21,17 @@ return [
* Wild card will add "%" in between every characters of the keyword.
* SQL: column LIKE "%k%e%y%w%o%r%d%"
*/
'use_wildcards' => false,
'use_wildcards' => false,
],
/*
* DataTables fractal configurations.
*/
'fractal' => [
'fractal' => [
/*
* Request key name to parse includes on fractal.
*/
'includes' => 'include',
'includes' => 'include',
/*
* Default fractal serializer.
@@ -47,12 +47,12 @@ return [
/*
* DataTables internal index id response column name.
*/
'index_column' => 'DT_Row_Index',
'index_column' => 'DT_Row_Index',
/*
* Namespaces used by the generator.
*/
'namespace' => [
'namespace' => [
/*
* Base namespace/directory to create the new file.
* This is appended on default Laravel namespace.
@@ -62,7 +62,7 @@ return [
* With Model: App\User (default model)
* Export filename: users_timestamp
*/
'base' => 'DataTables',
'base' => 'DataTables',
/*
* Base namespace/directory where your model's are located.
@@ -82,5 +82,5 @@ return [
* Snappy package: barryvdh/laravel-snappy
* Excel package: maatwebsite/excel
*/
'pdf_generator' => 'excel',
'pdf_generator' => 'excel',
];

View File

@@ -27,11 +27,11 @@ return [
|
*/
'storage' => [
'enabled' => true,
'driver' => 'file', // redis, file, pdo, custom
'path' => storage_path('debugbar'), // For file driver
'enabled' => true,
'driver' => 'file', // redis, file, pdo, custom
'path' => storage_path('debugbar'), // For file driver
'connection' => null, // Leave null for default connection (Redis/PDO)
'provider' => '', // Instance of StorageInterface for custom driver
'provider' => '', // Instance of StorageInterface for custom driver
],
/*
@@ -83,26 +83,26 @@ return [
*/
'collectors' => [
'phpinfo' => true, // Php version
'messages' => true, // Messages
'time' => true, // Time Datalogger
'memory' => true, // Memory usage
'exceptions' => true, // Exception displayer
'log' => true, // Logs from Monolog (merged in messages if enabled)
'db' => true, // Show database (PDO) queries and bindings
'views' => true, // Views with their data
'route' => true, // Current route information
'laravel' => false, // Laravel version and environment
'events' => false, // All events fired
'phpinfo' => true, // Php version
'messages' => true, // Messages
'time' => true, // Time Datalogger
'memory' => true, // Memory usage
'exceptions' => true, // Exception displayer
'log' => true, // Logs from Monolog (merged in messages if enabled)
'db' => true, // Show database (PDO) queries and bindings
'views' => true, // Views with their data
'route' => true, // Current route information
'laravel' => false, // Laravel version and environment
'events' => false, // All events fired
'default_request' => false, // Regular or special Symfony request logger
'symfony_request' => true, // Only one can be enabled..
'mail' => true, // Catch mail messages
'logs' => false, // Add the latest log messages
'files' => false, // Show the included files
'config' => false, // Display config settings
'auth' => false, // Display Laravel authentication status
'gate' => false, // Display Laravel Gate checks
'session' => true, // Display session data
'mail' => true, // Catch mail messages
'logs' => false, // Add the latest log messages
'files' => false, // Show the included files
'config' => false, // Display config settings
'auth' => false, // Display Laravel authentication status
'gate' => false, // Display Laravel Gate checks
'session' => true, // Display session data
],
/*
@@ -119,14 +119,14 @@ return [
'show_name' => false, // Also show the users name/email in the debugbar
],
'db' => [
'with_params' => true, // Render SQL with the parameters substituted
'timeline' => false, // Add the queries to the timeline
'backtrace' => false, // EXPERIMENTAL: Use a backtrace to find the origin of the query in your files.
'explain' => [ // EXPERIMENTAL: Show EXPLAIN output on queries
'with_params' => true, // Render SQL with the parameters substituted
'timeline' => false, // Add the queries to the timeline
'backtrace' => false, // EXPERIMENTAL: Use a backtrace to find the origin of the query in your files.
'explain' => [ // EXPERIMENTAL: Show EXPLAIN output on queries
'enabled' => false,
'types' => ['SELECT'], // array('SELECT', 'INSERT', 'UPDATE', 'DELETE'); for MySQL 5.6.3+
'types' => ['SELECT'], // array('SELECT', 'INSERT', 'UPDATE', 'DELETE'); for MySQL 5.6.3+
],
'hints' => true, // Show hints for common mistakes
'hints' => true, // Show hints for common mistakes
],
'mail' => [
'full_log' => false,

View File

@@ -2,14 +2,14 @@
return [
'cache' => [
'cache' => [
/*
|--------------------------------------------------------------------------
| Enable/Disable cell caching
|--------------------------------------------------------------------------
*/
'enable' => true,
'enable' => true,
/*
|--------------------------------------------------------------------------
@@ -22,7 +22,7 @@ return [
| memory|gzip|serialized|igbinary|discISAM|apc|memcache|temp|wincache|sqlite|sqlite3
|
*/
'driver' => 'memory',
'driver' => 'memory',
/*
|--------------------------------------------------------------------------
@@ -32,7 +32,7 @@ return [
'settings' => [
'memoryCacheSize' => '32MB',
'cacheTime' => 600,
'cacheTime' => 600,
],
@@ -54,19 +54,19 @@ return [
|--------------------------------------------------------------------------
*/
'dir' => storage_path('cache'),
'dir' => storage_path('cache'),
],
'properties' => [
'creator' => 'Maatwebsite',
'creator' => 'Maatwebsite',
'lastModifiedBy' => 'Maatwebsite',
'title' => 'Spreadsheet',
'description' => 'Default spreadsheet export',
'subject' => 'Spreadsheet export',
'keywords' => 'maatwebsite, excel, export',
'category' => 'Excel',
'manager' => 'Maatwebsite',
'company' => 'Maatwebsite',
'title' => 'Spreadsheet',
'description' => 'Default spreadsheet export',
'subject' => 'Spreadsheet export',
'keywords' => 'maatwebsite, excel, export',
'category' => 'Excel',
'manager' => 'Maatwebsite',
'company' => 'Maatwebsite',
],
/*
@@ -74,7 +74,7 @@ return [
| Sheets settings
|--------------------------------------------------------------------------
*/
'sheets' => [
'sheets' => [
/*
|--------------------------------------------------------------------------
@@ -82,18 +82,18 @@ return [
|--------------------------------------------------------------------------
*/
'pageSetup' => [
'orientation' => 'portrait',
'paperSize' => '9',
'scale' => '100',
'fitToPage' => false,
'fitToHeight' => true,
'fitToWidth' => true,
'orientation' => 'portrait',
'paperSize' => '9',
'scale' => '100',
'fitToPage' => false,
'fitToHeight' => true,
'fitToWidth' => true,
'columnsToRepeatAtLeft' => ['', ''],
'rowsToRepeatAtTop' => [0, 0],
'horizontalCentered' => false,
'verticalCentered' => false,
'printArea' => null,
'firstPageNumber' => null,
'rowsToRepeatAtTop' => [0, 0],
'horizontalCentered' => false,
'verticalCentered' => false,
'printArea' => null,
'firstPageNumber' => null,
],
],
@@ -106,9 +106,9 @@ return [
|
*/
'creator' => 'Maatwebsite',
'creator' => 'Maatwebsite',
'csv' => [
'csv' => [
/*
|--------------------------------------------------------------------------
| Delimiter
@@ -118,7 +118,7 @@ return [
|
*/
'delimiter' => ',',
'delimiter' => ',',
/*
|--------------------------------------------------------------------------
@@ -126,7 +126,7 @@ return [
|--------------------------------------------------------------------------
*/
'enclosure' => '"',
'enclosure' => '"',
/*
|--------------------------------------------------------------------------
@@ -145,7 +145,7 @@ return [
'use_bom' => false,
],
'export' => [
'export' => [
/*
|--------------------------------------------------------------------------
@@ -156,7 +156,7 @@ return [
| an array of columns ( array('A', 'B') )
|
*/
'autosize' => true,
'autosize' => true,
/*
|--------------------------------------------------------------------------
@@ -179,7 +179,7 @@ return [
| having the appropriate fonts installed.
|
*/
'autosize-method' => PHPExcel_Shared_Font::AUTOSIZE_METHOD_APPROX,
'autosize-method' => PHPExcel_Shared_Font::AUTOSIZE_METHOD_APPROX,
/*
|--------------------------------------------------------------------------
@@ -197,28 +197,28 @@ return [
| Auto set alignment on merged cells
|--------------------------------------------------------------------------
*/
'merged_cell_alignment' => 'left',
'merged_cell_alignment' => 'left',
/*
|--------------------------------------------------------------------------
| Pre-calculate formulas during export
|--------------------------------------------------------------------------
*/
'calculate' => false,
'calculate' => false,
/*
|--------------------------------------------------------------------------
| Include Charts during export
|--------------------------------------------------------------------------
*/
'includeCharts' => false,
'includeCharts' => false,
/*
|--------------------------------------------------------------------------
| Default sheet settings
|--------------------------------------------------------------------------
*/
'sheets' => [
'sheets' => [
/*
|--------------------------------------------------------------------------
@@ -232,21 +232,21 @@ return [
| Default order: array(top, right, bottom, left)
|
*/
'page_margin' => false,
'page_margin' => false,
/*
|--------------------------------------------------------------------------
| Value in source array that stands for blank cell
|--------------------------------------------------------------------------
*/
'nullValue' => null,
'nullValue' => null,
/*
|--------------------------------------------------------------------------
| Insert array starting from this cell address as the top left coordinate
|--------------------------------------------------------------------------
*/
'startCell' => 'A1',
'startCell' => 'A1',
/*
|--------------------------------------------------------------------------
@@ -262,7 +262,7 @@ return [
|--------------------------------------------------------------------------
*/
'store' => [
'store' => [
/*
|--------------------------------------------------------------------------
@@ -272,7 +272,7 @@ return [
| The path we want to save excel file to
|
*/
'path' => storage_path('exports'),
'path' => storage_path('exports'),
/*
|--------------------------------------------------------------------------
@@ -291,7 +291,7 @@ return [
| PDF Settings
|--------------------------------------------------------------------------
*/
'pdf' => [
'pdf' => [
/*
|--------------------------------------------------------------------------
@@ -299,7 +299,7 @@ return [
|--------------------------------------------------------------------------
| Supported: DomPDF, tcPDF, mPDF
*/
'driver' => 'DomPDF',
'driver' => 'DomPDF',
/*
|--------------------------------------------------------------------------
@@ -322,7 +322,7 @@ return [
| tcPDF settings
|--------------------------------------------------------------------------
*/
'tcPDF' => [
'tcPDF' => [
'path' => base_path('vendor/tecnick.com/tcpdf/'),
],
@@ -331,14 +331,14 @@ return [
| mPDF settings
|--------------------------------------------------------------------------
*/
'mPDF' => [
'mPDF' => [
'path' => base_path('vendor/mpdf/mpdf/'),
],
],
],
],
'filters' => [
'filters' => [
/*
|--------------------------------------------------------------------------
| Register read filters
@@ -355,10 +355,10 @@ return [
|--------------------------------------------------------------------------
*/
'enabled' => [],
'enabled' => [],
],
'import' => [
'import' => [
/*
|--------------------------------------------------------------------------
@@ -371,7 +371,7 @@ return [
|
*/
'heading' => 'slugged',
'heading' => 'slugged',
/*
|--------------------------------------------------------------------------
@@ -383,7 +383,7 @@ return [
|
*/
'startRow' => 1,
'startRow' => 1,
/*
|--------------------------------------------------------------------------
@@ -395,7 +395,7 @@ return [
|
*/
'separator' => '_',
'separator' => '_',
/*
|--------------------------------------------------------------------------
@@ -403,7 +403,7 @@ return [
|--------------------------------------------------------------------------
*/
'includeCharts' => false,
'includeCharts' => false,
/*
|--------------------------------------------------------------------------
@@ -415,7 +415,7 @@ return [
|
*/
'to_ascii' => true,
'to_ascii' => true,
/*
|--------------------------------------------------------------------------
@@ -423,9 +423,9 @@ return [
|--------------------------------------------------------------------------
*/
'encoding' => [
'encoding' => [
'input' => 'UTF-8',
'input' => 'UTF-8',
'output' => 'UTF-8',
],
@@ -439,7 +439,7 @@ return [
|
*/
'calculate' => true,
'calculate' => true,
/*
|--------------------------------------------------------------------------
@@ -450,7 +450,7 @@ return [
|
*/
'ignoreEmpty' => false,
'ignoreEmpty' => false,
/*
|--------------------------------------------------------------------------
@@ -474,7 +474,7 @@ return [
|
*/
'dates' => [
'dates' => [
/*
|--------------------------------------------------------------------------
@@ -491,7 +491,7 @@ return [
| If set to false, a carbon object will return
|
*/
'format' => false,
'format' => false,
/*
|--------------------------------------------------------------------------
@@ -506,7 +506,7 @@ return [
| Import sheets by config
|--------------------------------------------------------------------------
*/
'sheets' => [
'sheets' => [
/*
|--------------------------------------------------------------------------
@@ -526,7 +526,7 @@ return [
],
],
'views' => [
'views' => [
/*
|--------------------------------------------------------------------------
@@ -544,7 +544,7 @@ return [
| Table headings
|--------------------------------------------------------------------------
*/
'th' => [
'th' => [
'font' => [
'bold' => true,
'size' => 12,
@@ -568,7 +568,7 @@ return [
| Bold tags
|--------------------------------------------------------------------------
*/
'b' => [
'b' => [
'font' => [
'bold' => true,
'size' => 12,
@@ -580,10 +580,10 @@ return [
| Italic tags
|--------------------------------------------------------------------------
*/
'i' => [
'i' => [
'font' => [
'italic' => true,
'size' => 12,
'size' => 12,
],
],
@@ -592,7 +592,7 @@ return [
| Heading 1
|--------------------------------------------------------------------------
*/
'h1' => [
'h1' => [
'font' => [
'bold' => true,
'size' => 24,
@@ -604,7 +604,7 @@ return [
| Heading 2
|--------------------------------------------------------------------------
*/
'h2' => [
'h2' => [
'font' => [
'bold' => true,
'size' => 18,
@@ -616,7 +616,7 @@ return [
| Heading 2
|--------------------------------------------------------------------------
*/
'h3' => [
'h3' => [
'font' => [
'bold' => true,
'size' => 13.5,
@@ -628,7 +628,7 @@ return [
| Heading 4
|--------------------------------------------------------------------------
*/
'h4' => [
'h4' => [
'font' => [
'bold' => true,
'size' => 12,
@@ -640,7 +640,7 @@ return [
| Heading 5
|--------------------------------------------------------------------------
*/
'h5' => [
'h5' => [
'font' => [
'bold' => true,
'size' => 10,
@@ -652,7 +652,7 @@ return [
| Heading 6
|--------------------------------------------------------------------------
*/
'h6' => [
'h6' => [
'font' => [
'bold' => true,
'size' => 7.5,
@@ -664,10 +664,10 @@ return [
| Hyperlinks
|--------------------------------------------------------------------------
*/
'a' => [
'a' => [
'font' => [
'underline' => true,
'color' => ['argb' => 'FF0000FF'],
'color' => ['argb' => 'FF0000FF'],
],
],
@@ -676,7 +676,7 @@ return [
| Horizontal rules
|--------------------------------------------------------------------------
*/
'hr' => [
'hr' => [
'borders' => [
'bottom' => [
'style' => 'thin',

View File

@@ -41,23 +41,23 @@ return [
'local' => [
'driver' => 'local',
'root' => storage_path().'/app/attachments',
'root' => storage_path().'/app/attachments',
],
's3' => [
'driver' => 's3',
'key' => 'your-key',
'key' => 'your-key',
'secret' => 'your-secret',
'region' => 'your-region',
'bucket' => 'your-bucket',
],
'rackspace' => [
'driver' => 'rackspace',
'username' => 'your-username',
'key' => 'your-key',
'driver' => 'rackspace',
'username' => 'your-username',
'key' => 'your-key',
'container' => 'your-container',
'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/',
'region' => 'IAD',
'url_type' => 'publicURL',
'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/',
'region' => 'IAD',
'url_type' => 'publicURL',
],
],
];

View File

@@ -43,21 +43,21 @@ return [
*/
'services' => [
'maxmind_database' => [
'class' => \Torann\GeoIP\Services\MaxMindDatabase::class,
'class' => \Torann\GeoIP\Services\MaxMindDatabase::class,
'database_path' => storage_path('app/geoip.mmdb'),
'update_url' => 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz',
'locales' => ['en'],
'update_url' => 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz',
'locales' => ['en'],
],
'maxmind_api' => [
'class' => \Torann\GeoIP\Services\MaxMindWebService::class,
'user_id' => env('MAXMIND_USER_ID'),
'class' => \Torann\GeoIP\Services\MaxMindWebService::class,
'user_id' => env('MAXMIND_USER_ID'),
'license_key' => env('MAXMIND_LICENSE_KEY'),
'locales' => ['en'],
'locales' => ['en'],
],
'ipapi' => [
'class' => \Torann\GeoIP\Services\IPApi::class,
'secure' => true,
'key' => env('IPAPI_KEY'),
'class' => \Torann\GeoIP\Services\IPApi::class,
'secure' => true,
'key' => env('IPAPI_KEY'),
'continent_path' => storage_path('app/continents.json'),
],
],
@@ -105,18 +105,18 @@ return [
|
*/
'default_location' => [
'ip' => '127.0.0.0',
'iso_code' => 'IN',
'country' => 'INDIA',
'city' => 'Bangalore',
'state' => 'KA',
'state_name' => 'Connecticut',
'ip' => '127.0.0.0',
'iso_code' => 'IN',
'country' => 'INDIA',
'city' => 'Bangalore',
'state' => 'KA',
'state_name' => 'Connecticut',
'postal_code' => '06510',
'lat' => 41.31,
'lon' => -72.92,
'timezone' => 'Asia/Kolkata',
'continent' => 'NA',
'default' => true,
'currency' => 'USD',
'lat' => 41.31,
'lon' => -72.92,
'timezone' => 'Asia/Kolkata',
'continent' => 'NA',
'default' => true,
'currency' => 'USD',
],
];

View File

@@ -2,143 +2,143 @@
//Iso codes for languages
return [
'aa' => ['Afar', 'ʿAfár af'],
'ab' => ['Abkhazian', 'аҧсшәа'],
'af' => ['Afrikaans', 'Afrikaans'],
'am' => ['Amharic', 'አማርኛ'],
'ar' => ['Arabic', 'العربية'],
'as' => ['Assamese', 'অসমীয়া'],
'ay' => ['Aymara', 'aymar aru'],
'az' => ['Azerbaijani', 'azərbaycan dili'],
'ba' => ['Bashkir', 'башҡорт теле'],
'be' => ['Byelorussian', 'беларуская мова'],
'bg' => ['Bulgarian', 'български език'],
'bh' => ['Bihari', 'भोजपुरी'],
'bi' => ['Bislama', 'Bislama'],
'bn' => ['Bengali', 'বাংলা'],
'bo' => ['Tibetan', 'བོད་ཡིག'],
'br' => ['Breton', 'brezhoneg'],
'ca' => ['Catalan', 'català'],
'co' => ['Corsican', 'corsu, lingua corsa'],
'cs' => ['Czech', 'čeština, český jazyk'],
'cy' => ['Welsh', 'Cymraeg'],
'da' => ['Danish', 'dansk'],
'de' => ['German', 'Deutsch'],
'dz' => ['Bhutani', 'རྫོང་ཁ་'],
'el' => ['Greek', 'ελληνικά'],
'en' => ['English', 'English'],
'eo' => ['Esperanto', 'Esperanto'],
'es' => ['Spanish', 'Español'],
'et' => ['Estonian', 'eesti'],
'eu' => ['Basque', 'euskara'],
'fa' => ['Persian', 'فارسی'],
'fi' => ['Finnish', 'suomi'],
'fj' => ['Fiji', 'vosa Vakaviti'],
'fo' => ['Faeroese', 'føroyskt'],
'fr' => ['French', 'français'],
'fy' => ['Frisian', 'Frysk'],
'ga' => ['Irish', 'Gaeilge'],
'gd' => ['Gaelic', 'ɡɔɪˈdɛlɪk'],
'gl' => ['Galician', 'Galego'],
'gn' => ['Guarani', 'Avañ\'eẽ'],
'gu' => ['Gujarati', 'ગુજરાતી'],
'ha' => ['Hausa', 'هَوُسَ'],
'hi' => ['Hindi', 'हिन्दी'],
'hr' => ['Croatian', 'hrvatski jezik'],
'hu' => ['Hungarian', 'magyar'],
'hy' => ['Armenian', 'Հայերեն'],
'ia' => ['Interlingua', 'Interlingua'],
'ie' => ['Interlingue', 'Interlingue'],
'ik' => ['Inupiak', 'Iñupiaq'],
'id' => ['Indonesian', 'Bahasa Indonesia'],
'is' => ['Icelandic', 'Íslenska'],
'it' => ['Italian', 'Italiano'],
'he' => ['Hebrew', 'עברית'],
'ja' => ['Japanese', '日本語 [にほんご]'],
'yi' => ['Yiddish', 'ייִדיש'],
'jv' => ['Javanese', 'ꦧꦱꦗꦮ'],
'ka' => ['Georgian', 'ქართული'],
'kk' => ['Kazakh', 'қазақ тілі'],
'kl' => ['Greenlandic', 'kalaallisut'],
'km' => ['Cambodian', 'ខ្មែរ, ខេមរភាសា'],
'kn' => ['Kannada', 'ಕನ್ನಡ'],
'ko' => ['Korean', '한국어'],
'ks' => ['Kashmiri', 'कश्मीरी'],
'ku' => ['Kurdish', 'كوردی‎'],
'ky' => ['Kirghiz', 'Кыргызча'],
'la' => ['Latin', 'latine'],
'ln' => ['Lingala', 'Lingála'],
'lo' => ['Laothian', 'ພາສາລາວ'],
'lt' => ['Lithuanian', 'lietuvių kalba'],
'lv' => ['Latvian', 'Latviešu Valoda'],
'mg' => ['Malagasy', 'fiteny malagasy'],
'mi' => ['Maori', 'te reo Māori'],
'mk' => ['Macedonian', 'македонски јазик'],
'ml' => ['Malayalam', 'മലയാളം'],
'mn' => ['Mongolian', 'Монгол хэл'],
'ro' => ['Moldavian', 'Română'],
'mr' => ['Marathi', 'मराठी'],
'ms' => ['Malay', 'Bahasa Melayu'],
'mt' => ['Maltese', 'Malti'],
'my' => ['Burmese', 'ဗမာစာ'],
'na' => ['Nauru', 'Dorerin Naoero'],
'ne' => ['Nepali', 'नेपाली'],
'nl' => ['Dutch', 'Vlaams'],
'no' => ['Norwegian', 'Norsk'],
'oc' => ['Occitan', 'lenga d\'òc'],
'om' => ['Oromo', 'Afaan Oromoo'],
'or' => ['Oriya', 'ଓଡ଼ିଆ'],
'pa' => ['Punjabi', 'ਪੰਜਾਬੀ'],
'pl' => ['Polish', 'Język Polski'],
'ps' => ['Pashto', 'پښتو'],
'pt' => ['Portuguese', 'Português'],
'pt-br' => ['Brazilian Portuguese', 'Português'],
'qu' => ['Quechua', 'Runa Simi'],
'rm' => ['Rhaeto-Romance', 'Rumantsch Grischun'],
'rn' => ['Kirundi', 'Ikirundi'],
'ro' => ['Romanian', 'Română'],
'ru' => ['Russian', 'Русский'],
'rw' => ['Kinyarwanda', 'Ikinyarwanda'],
'sa' => ['Sanskrit', 'संस्कृतम्'],
'sd' => ['Sindhi', 'सिन्धी'],
'sg' => ['Sangro', 'yângâ tî sängö'],
'sh' => ['Serbo-Croatian', '/ˌsɜːrboʊkroʊˈeɪʃən, -bə-/ '],
'si' => ['Singhalese', 'සිංහල'],
'sk' => ['Slovak', 'Slovenčina'],
'sl' => ['Slovenian', 'Slovenščina'],
'sm' => ['Samoan', 'gagana fa\'a Samoa'],
'sn' => ['Shona', 'chiShona'],
'so' => ['Somali', 'Soomaaliga'],
'sq' => ['Albanian', 'Shqip'],
'sr' => ['Serbian', 'српски језик'],
'ss' => ['Siswati', 'SiSwati'],
'st' => ['Sesotho', 'Sesotho'],
'su' => ['Sudanese', 'Basa Sunda'],
'sv' => ['Swedish', 'Svenska'],
'sw' => ['Swahili', 'Kiswahili'],
'ta' => ['Tamil', 'தமிழ்'],
'te' => ['Tegulu', 'తెలుగు'],
'tg' => ['Tajik', 'тоҷикӣ'],
'th' => ['Thai', 'ไทย'],
'ti' => ['Tigrinya', 'ትግርኛ'],
'tk' => ['Turkmen', 'Türkmen'],
'tl' => ['Tagalog', 'Wikang Tagalog'],
'tn' => ['Setswana', 'Setswana'],
'to' => ['Tonga', 'Faka Tonga'],
'tr' => ['Turkish', 'Türkçe'],
'ts' => ['Tsonga', 'Xitsonga'],
'tt' => ['Tatar', 'татар теле'],
'tw' => ['Twi', 'Twi'],
'uk' => ['Ukrainian', 'Українська'],
'ur' => ['Urdu', 'اردو'],
'uz' => ['Uzbek', 'Oʻzbek'],
'vi' => ['Vietnamese', 'Tiếng Việt'],
'vo' => ['Volapuk', 'Volapük'],
'wo' => ['Wolof', 'Wollof'],
'xh' => ['Xhosa', 'isiXhosa'],
'yo' => ['Yoruba', 'Yorùbá'],
'zh' => ['Chinese', '中文 (Zhōngwén)'],
'aa' => ['Afar', 'ʿAfár af'],
'ab' => ['Abkhazian', 'аҧсшәа'],
'af' => ['Afrikaans', 'Afrikaans'],
'am' => ['Amharic', 'አማርኛ'],
'ar' => ['Arabic', 'العربية'],
'as' => ['Assamese', 'অসমীয়া'],
'ay' => ['Aymara', 'aymar aru'],
'az' => ['Azerbaijani', 'azərbaycan dili'],
'ba' => ['Bashkir', 'башҡорт теле'],
'be' => ['Byelorussian', 'беларуская мова'],
'bg' => ['Bulgarian', 'български език'],
'bh' => ['Bihari', 'भोजपुरी'],
'bi' => ['Bislama', 'Bislama'],
'bn' => ['Bengali', 'বাংলা'],
'bo' => ['Tibetan', 'བོད་ཡིག'],
'br' => ['Breton', 'brezhoneg'],
'ca' => ['Catalan', 'català'],
'co' => ['Corsican', 'corsu, lingua corsa'],
'cs' => ['Czech', 'čeština, český jazyk'],
'cy' => ['Welsh', 'Cymraeg'],
'da' => ['Danish', 'dansk'],
'de' => ['German', 'Deutsch'],
'dz' => ['Bhutani', 'རྫོང་ཁ་'],
'el' => ['Greek', 'ελληνικά'],
'en' => ['English', 'English'],
'eo' => ['Esperanto', 'Esperanto'],
'es' => ['Spanish', 'Español'],
'et' => ['Estonian', 'eesti'],
'eu' => ['Basque', 'euskara'],
'fa' => ['Persian', 'فارسی'],
'fi' => ['Finnish', 'suomi'],
'fj' => ['Fiji', 'vosa Vakaviti'],
'fo' => ['Faeroese', 'føroyskt'],
'fr' => ['French', 'français'],
'fy' => ['Frisian', 'Frysk'],
'ga' => ['Irish', 'Gaeilge'],
'gd' => ['Gaelic', 'ɡɔɪˈdɛlɪk'],
'gl' => ['Galician', 'Galego'],
'gn' => ['Guarani', 'Avañ\'eẽ'],
'gu' => ['Gujarati', 'ગુજરાતી'],
'ha' => ['Hausa', 'هَوُسَ'],
'hi' => ['Hindi', 'हिन्दी'],
'hr' => ['Croatian', 'hrvatski jezik'],
'hu' => ['Hungarian', 'magyar'],
'hy' => ['Armenian', 'Հայերեն'],
'ia' => ['Interlingua', 'Interlingua'],
'ie' => ['Interlingue', 'Interlingue'],
'ik' => ['Inupiak', 'Iñupiaq'],
'id' => ['Indonesian', 'Bahasa Indonesia'],
'is' => ['Icelandic', 'Íslenska'],
'it' => ['Italian', 'Italiano'],
'he' => ['Hebrew', 'עברית'],
'ja' => ['Japanese', '日本語 [にほんご]'],
'yi' => ['Yiddish', 'ייִדיש'],
'jv' => ['Javanese', 'ꦧꦱꦗꦮ'],
'ka' => ['Georgian', 'ქართული'],
'kk' => ['Kazakh', 'қазақ тілі'],
'kl' => ['Greenlandic', 'kalaallisut'],
'km' => ['Cambodian', 'ខ្មែរ, ខេមរភាសា'],
'kn' => ['Kannada', 'ಕನ್ನಡ'],
'ko' => ['Korean', '한국어'],
'ks' => ['Kashmiri', 'कश्मीरी'],
'ku' => ['Kurdish', 'كوردی‎'],
'ky' => ['Kirghiz', 'Кыргызча'],
'la' => ['Latin', 'latine'],
'ln' => ['Lingala', 'Lingála'],
'lo' => ['Laothian', 'ພາສາລາວ'],
'lt' => ['Lithuanian', 'lietuvių kalba'],
'lv' => ['Latvian', 'Latviešu Valoda'],
'mg' => ['Malagasy', 'fiteny malagasy'],
'mi' => ['Maori', 'te reo Māori'],
'mk' => ['Macedonian', 'македонски јазик'],
'ml' => ['Malayalam', 'മലയാളം'],
'mn' => ['Mongolian', 'Монгол хэл'],
'ro' => ['Moldavian', 'Română'],
'mr' => ['Marathi', 'मराठी'],
'ms' => ['Malay', 'Bahasa Melayu'],
'mt' => ['Maltese', 'Malti'],
'my' => ['Burmese', 'ဗမာစာ'],
'na' => ['Nauru', 'Dorerin Naoero'],
'ne' => ['Nepali', 'नेपाली'],
'nl' => ['Dutch', 'Vlaams'],
'no' => ['Norwegian', 'Norsk'],
'oc' => ['Occitan', 'lenga d\'òc'],
'om' => ['Oromo', 'Afaan Oromoo'],
'or' => ['Oriya', 'ଓଡ଼ିଆ'],
'pa' => ['Punjabi', 'ਪੰਜਾਬੀ'],
'pl' => ['Polish', 'Język Polski'],
'ps' => ['Pashto', 'پښتو'],
'pt' => ['Portuguese', 'Português'],
'pt-br' => ['Brazilian Portuguese', 'Português'],
'qu' => ['Quechua', 'Runa Simi'],
'rm' => ['Rhaeto-Romance', 'Rumantsch Grischun'],
'rn' => ['Kirundi', 'Ikirundi'],
'ro' => ['Romanian', 'Română'],
'ru' => ['Russian', 'Русский'],
'rw' => ['Kinyarwanda', 'Ikinyarwanda'],
'sa' => ['Sanskrit', 'संस्कृतम्'],
'sd' => ['Sindhi', 'सिन्धी'],
'sg' => ['Sangro', 'yângâ tî sängö'],
'sh' => ['Serbo-Croatian', '/ˌsɜːrboʊkroʊˈeɪʃən, -bə-/ '],
'si' => ['Singhalese', 'සිංහල'],
'sk' => ['Slovak', 'Slovenčina'],
'sl' => ['Slovenian', 'Slovenščina'],
'sm' => ['Samoan', 'gagana fa\'a Samoa'],
'sn' => ['Shona', 'chiShona'],
'so' => ['Somali', 'Soomaaliga'],
'sq' => ['Albanian', 'Shqip'],
'sr' => ['Serbian', 'српски језик'],
'ss' => ['Siswati', 'SiSwati'],
'st' => ['Sesotho', 'Sesotho'],
'su' => ['Sudanese', 'Basa Sunda'],
'sv' => ['Swedish', 'Svenska'],
'sw' => ['Swahili', 'Kiswahili'],
'ta' => ['Tamil', 'தமிழ்'],
'te' => ['Tegulu', 'తెలుగు'],
'tg' => ['Tajik', 'тоҷикӣ'],
'th' => ['Thai', 'ไทย'],
'ti' => ['Tigrinya', 'ትግርኛ'],
'tk' => ['Turkmen', 'Türkmen'],
'tl' => ['Tagalog', 'Wikang Tagalog'],
'tn' => ['Setswana', 'Setswana'],
'to' => ['Tonga', 'Faka Tonga'],
'tr' => ['Turkish', 'Türkçe'],
'ts' => ['Tsonga', 'Xitsonga'],
'tt' => ['Tatar', 'татар теле'],
'tw' => ['Twi', 'Twi'],
'uk' => ['Ukrainian', 'Українська'],
'ur' => ['Urdu', 'اردو'],
'uz' => ['Uzbek', 'Oʻzbek'],
'vi' => ['Vietnamese', 'Tiếng Việt'],
'vo' => ['Volapuk', 'Volapük'],
'wo' => ['Wolof', 'Wollof'],
'xh' => ['Xhosa', 'isiXhosa'],
'yo' => ['Yoruba', 'Yorùbá'],
'zh' => ['Chinese', '中文 (Zhōngwén)'],
'zh-hant' => ['Chinese', '中文 [Traditional]'],
'zh-hans' => ['Chinese', '中文 [Simplified]'],
'zu' => ['Zulu', 'isiZulu'],
'zu' => ['Zulu', 'isiZulu'],
];

View File

@@ -1,31 +1,31 @@
<?php
return [
'rename_file' => true,
'rename_file' => true,
// true : files will be renamed as uniqid
// false : files will remain original names
// true : filter filename characters which are not alphanumeric, and replace them with '_'
'alphanumeric_filename' => true,
'use_package_routes' => true,
'use_package_routes' => true,
// set this to false to customize route for file manager
'middlewares' => ['web', 'auth'],
'middlewares' => ['web', 'auth'],
// determine middlewares that apply to all file manager routes
// NOTE: for laravel 5.2, please use ['web', 'auth']
'allow_multi_user' => true,
'allow_multi_user' => true,
// true : user can upload files to shared folder and their own folder
// false : all files are put together in shared folder
'user_field' => 'user_name',
'user_field' => 'user_name',
// determine which column of users table will be used as user's folder name
'shared_folder_name' => 'shares',
'shared_folder_name' => 'shares',
// the name of shared folder
'thumb_folder_name' => 'thumbs',
'thumb_folder_name' => 'thumbs',
// the name of thumb folder
// valid image mimetypes

View File

@@ -34,47 +34,47 @@ return [
'channels' => [
'stack' => [
'driver' => 'stack',
'driver' => 'stack',
'channels' => ['single'],
],
'single' => [
'driver' => 'single',
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
],
'daily' => [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'days' => 7,
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'days' => 7,
],
'slack' => [
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),
'driver' => 'slack',
'url' => env('LOG_SLACK_WEBHOOK_URL'),
'username' => 'Laravel Log',
'emoji' => ':boom:',
'level' => 'critical',
'emoji' => ':boom:',
'level' => 'critical',
],
'stderr' => [
'driver' => 'monolog',
'driver' => 'monolog',
'handler' => StreamHandler::class,
'with' => [
'with' => [
'stream' => 'php://stderr',
],
],
'syslog' => [
'driver' => 'syslog',
'level' => 'debug',
'level' => 'debug',
],
'errorlog' => [
'driver' => 'errorlog',
'level' => 'debug',
'level' => 'debug',
],
],

View File

@@ -34,34 +34,34 @@ return [
],
'database' => [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'table' => 'jobs',
'queue' => 'default',
'expire' => 60,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
'ttr' => 60,
'host' => 'localhost',
'queue' => 'default',
'ttr' => 60,
],
'sqs' => [
'driver' => 'sqs',
'key' => 'your-public-key',
'key' => 'your-public-key',
'secret' => 'your-secret-key',
'queue' => 'your-queue-url',
'queue' => 'your-queue-url',
'region' => 'us-east-1',
],
'iron' => [
'driver' => 'iron',
'host' => 'mq-aws-us-east-1.iron.io',
'token' => 'your-token',
'driver' => 'iron',
'host' => 'mq-aws-us-east-1.iron.io',
'token' => 'your-token',
'project' => 'your-project-id',
'queue' => 'your-queue-name',
'queue' => 'your-queue-name',
'encrypt' => true,
],
'redis' => [
'driver' => '',
'queue' => '',
'queue' => '',
'expire' => 60,
],
],

View File

@@ -22,44 +22,44 @@ return [
'secret' => '',
],
'ses' => [
'key' => '',
'key' => '',
'secret' => '',
'region' => 'us-east-1',
],
'stripe' => [
'model' => 'User',
'model' => 'User',
'secret' => '',
],
'facebook' => [
'client_id' => '', //'1549781705316089', //app id
'client_id' => '', //'1549781705316089', //app id
'client_secret' => '', //'d87caaf1b1dd1d5620fee458a85fb04b', //app secret
'redirect' => '', //'http://localhost/FaveoVersions/faveo-helpdesk/public/social/login/facebook', //redirec
'redirect' => '', //'http://localhost/FaveoVersions/faveo-helpdesk/public/social/login/facebook', //redirec
],
'google' => [
'client_id' => '', //'688540182553-kp780p6fvhjqtl6c91npm6hjair96vkr.apps.googleusercontent.com', //app id
'client_id' => '', //'688540182553-kp780p6fvhjqtl6c91npm6hjair96vkr.apps.googleusercontent.com', //app id
'client_secret' => '', //'ZZ9lXX6uqLGgP1NzbQMh8tMT', //secret
'redirect' => '', //'http://localhost/FaveoVersions/faveo-helpdesk/public/social/login/google', //redirect
'redirect' => '', //'http://localhost/FaveoVersions/faveo-helpdesk/public/social/login/google', //redirect
],
'github' => [
'client_id' => '', //'32e7f0bf89715bee29c4', //app id
'client_id' => '', //'32e7f0bf89715bee29c4', //app id
'client_secret' => '', //'2f279448a6e22bcc3948684b9fd9ae52859aa3dc', //app secrete,
'redirect' => '', //'http://localhost/FaveoVersions/faveo-helpdesk/public/social/login/github', //redirect
'redirect' => '', //'http://localhost/FaveoVersions/faveo-helpdesk/public/social/login/github', //redirect
],
'twitter' => [
'client_id' => '', //'zIngm3fOvZSUl2mXQVuUkeyJq', //app id
'client_id' => '', //'zIngm3fOvZSUl2mXQVuUkeyJq', //app id
'client_secret' => '', //'56qAS0c0AuDQqMKu6eFaixfEuIMt8L0PrOxvXtJ4Lcq08xClT2', //app secrete,
'redirect' => '', //'http://twitter-auth.app/FaveoVersions/faveo-helpdesk/public/social/login/twitter', //redirect
'redirect' => '', //'http://twitter-auth.app/FaveoVersions/faveo-helpdesk/public/social/login/twitter', //redirect
],
'linkedin' => [
'client_id' => '', //'8124vrpk0p0a4h', //client id
'client_id' => '', //'8124vrpk0p0a4h', //client id
'client_secret' => '', //'hKWvjrJba80PSzET', //client secrete,
'redirect' => '', //'http://localhost/FaveoVersions/faveo-helpdesk/public/social/login/linkedin', //redirect
'redirect' => '', //'http://localhost/FaveoVersions/faveo-helpdesk/public/social/login/linkedin', //redirect
],
'bitbucket' => [
'client_id' => '', //'pLKys6C89Xg6bbuHcL', //client id
'client_id' => '', //'pLKys6C89Xg6bbuHcL', //client id
'client_secret' => '', //'dD7HerXuELJR3uZQv93ZYuXsg5vLSzLR', //client secrete,
'redirect' => '', //'http://localhost/FaveoVersions/faveo-helpdesk/public/social/login/bitbucket', //redirect
'redirect' => '', //'http://localhost/FaveoVersions/faveo-helpdesk/public/social/login/bitbucket', //redirect
],
];

View File

@@ -27,7 +27,7 @@ return [
| to immediately expire on the browser closing, set that option.
|
*/
'lifetime' => 120,
'lifetime' => 120,
'expire_on_close' => false,
/*
|--------------------------------------------------------------------------

View File

@@ -43,41 +43,41 @@ return [
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'driver' => 'sqlite',
'database' => storage_path().'/database.sqlite',
'prefix' => '',
'prefix' => '',
],
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'strict' => false,
'options' => [
'prefix' => '',
'strict' => false,
'options' => [
PDO::ATTR_PERSISTENT => true,
],
],
'pgsql' => [
'driver' => 'pgsql',
'host' => env('DB_HOST', 'localhost'),
'driver' => 'pgsql',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
'charset' => 'utf8',
'prefix' => '',
'schema' => 'public',
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'host' => env('DB_HOST', 'localhost'),
'driver' => 'sqlsrv',
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'prefix' => '',
'prefix' => '',
],
],
/*
@@ -105,8 +105,8 @@ return [
'cluster' => false,
'default' => [
'host' => '127.0.0.1',
'port' => 6379,
'host' => '127.0.0.1',
'port' => 6379,
'database' => 0,
],
],