Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2023-01-06 13:07:26 +00:00
parent 88642f7ecd
commit 168656e3aa
235 changed files with 14818 additions and 14426 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,63 +201,63 @@ return [
|
*/
'aliases' => [
'App' => 'Illuminate\Support\Facades\App',
'Arr' => Illuminate\Support\Arr::class,
'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',
'Str' => Illuminate\Support\Str::class,
'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::class,
'Ttable' => App\Http\Controllers\Agent\helpdesk\TicketController::class, //to use getTable function.
'SMTPS' => App\Http\Controllers\HomeController::class,
'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::class,
'Finder' => App\Helper\Finder::class,
'Datatables' => Yajra\Datatables\Facades\Datatables::class,
'App' => 'Illuminate\Support\Facades\App',
'Arr' => Illuminate\Support\Arr::class,
'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',
'Str' => Illuminate\Support\Str::class,
'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::class,
'Ttable' => App\Http\Controllers\Agent\helpdesk\TicketController::class, //to use getTable function.
'SMTPS' => App\Http\Controllers\HomeController::class,
'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::class,
'Finder' => App\Helper\Finder::class,
'Datatables' => Yajra\Datatables\Facades\Datatables::class,
'Notification' => Illuminate\Support\Facades\Notification::class,
],
];

View File

@@ -14,7 +14,7 @@ return [
*/
'defaults' => [
'guard' => 'web',
'guard' => 'web',
'passwords' => 'users',
],
@@ -37,12 +37,12 @@ return [
'guards' => [
'web' => [
'driver' => 'session',
'driver' => 'session',
'provider' => 'users',
],
'api' => [
'driver' => 'token',
'driver' => 'token',
'provider' => 'users',
],
],
@@ -67,7 +67,7 @@ return [
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\User::class,
'model' => App\User::class,
],
// 'users' => [
@@ -94,8 +94,8 @@ return [
'passwords' => [
'users' => [
'provider' => 'users',
'table' => 'password_resets',
'expire' => 60,
'table' => 'password_resets',
'expire' => 60,
],
],

View File

@@ -31,18 +31,18 @@ return [
'connections' => [
'pusher' => [
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'secret' => env('PUSHER_APP_SECRET'),
'app_id' => env('PUSHER_APP_ID'),
'options' => [
'cluster' => env('PUSHER_APP_CLUSTER'),
'cluster' => env('PUSHER_APP_CLUSTER'),
'encrypted' => true,
],
],
'redis' => [
'driver' => 'redis',
'driver' => 'redis',
'connection' => 'default',
],

View File

@@ -42,20 +42,20 @@ return [
],
'database' => [
'driver' => 'database',
'table' => 'cache',
'driver' => 'database',
'table' => 'cache',
'connection' => null,
],
'file' => [
'driver' => 'file',
'path' => storage_path('framework/cache/data'),
'path' => storage_path('framework/cache/data'),
],
'memcached' => [
'driver' => 'memcached',
'driver' => 'memcached',
'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
'sasl' => [
'sasl' => [
env('MEMCACHED_USERNAME'),
env('MEMCACHED_PASSWORD'),
],
@@ -64,24 +64,24 @@ return [
],
'servers' => [
[
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
'port' => env('MEMCACHED_PORT', 11211),
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
'port' => env('MEMCACHED_PORT', 11211),
'weight' => 100,
],
],
],
'redis' => [
'driver' => 'redis',
'driver' => 'redis',
'connection' => 'cache',
],
'dynamodb' => [
'driver' => 'dynamodb',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
'driver' => 'dynamodb',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
'endpoint' => env('DYNAMODB_ENDPOINT'),
],

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

@@ -36,58 +36,58 @@ return [
'connections' => [
'sqlite' => [
'driver' => 'sqlite',
'url' => env('DATABASE_URL'),
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
'driver' => 'sqlite',
'url' => env('DATABASE_URL'),
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
],
'mysql' => [
'driver' => 'mysql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'driver' => 'mysql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '3306'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'unix_socket' => env('DB_SOCKET', ''),
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
'strict' => true,
'engine' => null,
'options' => extension_loaded('pdo_mysql') ? array_filter([
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
]) : [],
],
'pgsql' => [
'driver' => 'pgsql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '5432'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'driver' => 'pgsql',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', '127.0.0.1'),
'port' => env('DB_PORT', '5432'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'prefix_indexes' => true,
'schema' => 'public',
'sslmode' => 'prefer',
'schema' => 'public',
'sslmode' => 'prefer',
],
'sqlsrv' => [
'driver' => 'sqlsrv',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '1433'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'driver' => 'sqlsrv',
'url' => env('DATABASE_URL'),
'host' => env('DB_HOST', 'localhost'),
'port' => env('DB_PORT', '1433'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'charset' => 'utf8',
'prefix' => '',
'prefix_indexes' => true,
],
@@ -123,22 +123,22 @@ return [
'options' => [
'cluster' => env('REDIS_CLUSTER', 'predis'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
],
'default' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DB', 0),
],
'cache' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_CACHE_DB', 1),
],

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
],
/*
@@ -120,11 +120,11 @@ return [
],
'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
'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
],

View File

@@ -32,7 +32,7 @@ return [
'settings' => [
'memoryCacheSize' => '32MB',
'cacheTime' => 600,
'cacheTime' => 600,
],
@@ -58,15 +58,15 @@ return [
],
'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',
],
/*
@@ -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,
],
],
@@ -425,7 +425,7 @@ return [
'encoding' => [
'input' => 'UTF-8',
'input' => 'UTF-8',
'output' => 'UTF-8',
],
@@ -583,7 +583,7 @@ return [
'i' => [
'font' => [
'italic' => true,
'size' => 12,
'size' => 12,
],
],
@@ -667,7 +667,7 @@ return [
'a' => [
'font' => [
'underline' => true,
'color' => ['argb' => 'FF0000FF'],
'color' => ['argb' => 'FF0000FF'],
],
],

View File

@@ -45,23 +45,23 @@ return [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'root' => storage_path('app'),
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
],
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
'url' => env('AWS_URL'),
],
],

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

@@ -44,9 +44,9 @@ return [
*/
'argon' => [
'memory' => 1024,
'memory' => 1024,
'threads' => 2,
'time' => 2,
'time' => 2,
],
];

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

@@ -35,36 +35,36 @@ return [
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['daily'],
'driver' => 'stack',
'channels' => ['daily'],
'ignore_exceptions' => false,
],
'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' => 14,
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'days' => 14,
],
'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',
],
'papertrail' => [
'driver' => 'monolog',
'level' => 'debug',
'handler' => SyslogUdpHandler::class,
'driver' => 'monolog',
'level' => 'debug',
'handler' => SyslogUdpHandler::class,
'handler_with' => [
'host' => env('PAPERTRAIL_URL'),
'port' => env('PAPERTRAIL_PORT'),
@@ -72,22 +72,22 @@ return [
],
'stderr' => [
'driver' => 'monolog',
'handler' => StreamHandler::class,
'driver' => 'monolog',
'handler' => StreamHandler::class,
'formatter' => env('LOG_STDERR_FORMATTER'),
'with' => [
'with' => [
'stream' => 'php://stderr',
],
],
'syslog' => [
'driver' => 'syslog',
'level' => 'debug',
'level' => 'debug',
],
'errorlog' => [
'driver' => 'errorlog',
'level' => 'debug',
'level' => 'debug',
],
],

View File

@@ -57,7 +57,7 @@ return [
'from' => [
'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'),
'name' => env('MAIL_FROM_NAME', 'Example'),
'name' => env('MAIL_FROM_NAME', 'Example'),
],
/*

View File

@@ -35,35 +35,35 @@ return [
],
'database' => [
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'driver' => 'database',
'table' => 'jobs',
'queue' => 'default',
'retry_after' => 90,
],
'beanstalkd' => [
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
'driver' => 'beanstalkd',
'host' => 'localhost',
'queue' => 'default',
'retry_after' => 90,
'block_for' => 0,
'block_for' => 0,
],
'sqs' => [
'driver' => 'sqs',
'key' => env('AWS_ACCESS_KEY_ID'),
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
'queue' => env('SQS_QUEUE', 'your-queue-name'),
'queue' => env('SQS_QUEUE', 'your-queue-name'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'redis' => [
'driver' => 'redis',
'connection' => 'default',
'queue' => env('REDIS_QUEUE', 'default'),
'driver' => 'redis',
'connection' => 'default',
'queue' => env('REDIS_QUEUE', 'default'),
'retry_after' => 90,
'block_for' => null,
'block_for' => null,
],
],
@@ -81,7 +81,7 @@ return [
'failed' => [
'database' => env('DB_CONNECTION', 'mysql'),
'table' => 'failed_jobs',
'table' => 'failed_jobs',
],
];

View File

@@ -15,8 +15,8 @@ return [
*/
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
],
@@ -25,7 +25,7 @@ return [
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],

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,
],
],