add shipping rules

This commit is contained in:
Ludovic CANDELLIER
2023-07-16 14:45:42 +02:00
parent 297dcc62d2
commit 39c80ce6d1
459 changed files with 6219 additions and 5416 deletions

View File

@@ -35,19 +35,19 @@ return [
'colors' => [
'#008FFB', '#00E396', '#feb019', '#ff455f', '#775dd0', '#80effe',
'#0077B5', '#ff6384', '#c9cbcf', '#0057ff', '#00a9f4', '#2ccdc9', '#5e72e4'
'#0077B5', '#ff6384', '#c9cbcf', '#0057ff', '#00a9f4', '#2ccdc9', '#5e72e4',
],
'series' => [],
'dataLabels' => [
'enabled' => false
'enabled' => false,
],
'labels' => [],
'title' => [
'text' => []
'text' => [],
],
'subtitle' => [
@@ -60,16 +60,16 @@ return [
],
'grid' => [
'show' => true
'show' => true,
],
'markers' => [
'size' => 4,
'colors' => [
'#008FFB', '#00E396', '#feb019', '#ff455f', '#775dd0', '#80effe',
'#0077B5', '#ff6384', '#c9cbcf', '#0057ff', '#00a9f4', '#2ccdc9', '#5e72e4'
'#0077B5', '#ff6384', '#c9cbcf', '#0057ff', '#00a9f4', '#2ccdc9', '#5e72e4',
],
'strokeColors' => "#fff",
'strokeColors' => '#fff',
'strokeWidth' => 2,
'hover' => [
'size' => 7,
@@ -81,8 +81,8 @@ return [
'width' => 4,
'colors' => [
'#008FFB', '#00E396', '#feb019', '#ff455f', '#775dd0', '#80effe',
'#0077B5', '#ff6384', '#c9cbcf', '#0057ff', '#00a9f4', '#2ccdc9', '#5e72e4'
]
'#0077B5', '#ff6384', '#c9cbcf', '#0057ff', '#00a9f4', '#2ccdc9', '#5e72e4',
],
],
],

View File

@@ -2,20 +2,20 @@
return [
// Backend routes prefix. Ex: "admin" => "http://..../admin"
'prefix' => 'admin',
'prefix' => 'admin',
// Backend domain if different as current domain. Ex: "admin.mydomain.tld"
'domain' => '',
'domain' => '',
// Redirect to this route after login
'redirectTo' => 'Admin.home',
// Backend locale
'locale' => config('app.locale'),
'locale' => config('app.locale'),
'logs' => true,
// When set to true, allows admins to view the site as a user of their choice
'allowImpersonate' => false,
'allowImpersonate' => false,
];

View File

@@ -1,13 +1,13 @@
<?php
return [
'register' => false, // Allow to register new users on backend login page
'register' => false, // Allow to register new users on backend login page
'register_role' => 'backend_user', // Given role to new users (except the first one who is admin)
'providers' => [
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\Models\Core\Auth\User::class,
'table' => 'users',
'model' => App\Models\Core\Auth\User::class,
'table' => 'users',
],
],
'throttle' => [

View File

@@ -1,7 +1,7 @@
<?php
return [
'user' => App\Models\Core\Auth\User::class,
'role' => App\Models\Core\Auth\Role::class,
'user' => App\Models\Core\Auth\User::class,
'role' => App\Models\Core\Auth\Role::class,
'permission' => App\Models\Core\Auth\Permission::class,
];

View File

@@ -1,12 +1,12 @@
<?php
return [
'base_url' => '/storage',
'base_url' => '/storage',
'tinymce_upload_dir' => 'edition',
'thumbs_dir' => 'thumbs',
'hide_thumbs_dir' => true,
'authorized' => [
'size' => '2048',
'thumbs_dir' => 'thumbs',
'hide_thumbs_dir' => true,
'authorized' => [
'size' => '2048',
'mimes' => [// @see https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types)
'jpg',
'jpeg',
@@ -34,32 +34,32 @@ return [
'wmv',
],
],
'filetypes' => [// Recognized filetypes
'image' => 'png|jpg|jpeg|gif|svg',
'word' => 'doc|docx|odt',
'excel' => 'xls|xlsx|ods',
'ppt' => 'ppt|pptx',
'pdf' => 'pdf',
'code' => 'php|js|java|python|ruby|go|c|cpp|sql|m|h|json|html|aspx',
'filetypes' => [// Recognized filetypes
'image' => 'png|jpg|jpeg|gif|svg',
'word' => 'doc|docx|odt',
'excel' => 'xls|xlsx|ods',
'ppt' => 'ppt|pptx',
'pdf' => 'pdf',
'code' => 'php|js|java|python|ruby|go|c|cpp|sql|m|h|json|html|aspx',
'archive' => 'zip|tar\.gz|rar|rpm',
'txt' => 'txt|pac|log|md',
'audio' => 'mp3|wav|flac|3pg|aa|aac|ape|au|m4a|mpc|ogg',
'video' => 'mkv|rmvb|flv|mp4|avi|wmv|rm|asf|mpeg',
'txt' => 'txt|pac|log|md',
'audio' => 'mp3|wav|flac|3pg|aa|aac|ape|au|m4a|mpc|ogg',
'video' => 'mkv|rmvb|flv|mp4|avi|wmv|rm|asf|mpeg',
],
'icons' => [// Icons linked to filetypes
'file' => 'file', // default
'image' => 'file-image',
'word' => 'file-word',
'excel' => 'file-excel',
'ppt' => 'file-powerpoint',
'pdf' => 'file-pdf',
'code' => 'file-code',
'icons' => [// Icons linked to filetypes
'file' => 'file', // default
'image' => 'file-image',
'word' => 'file-word',
'excel' => 'file-excel',
'ppt' => 'file-powerpoint',
'pdf' => 'file-pdf',
'code' => 'file-code',
'archive' => 'file-zip',
'txt' => 'file-text',
'audio' => 'file-audio',
'video' => 'file-video',
'txt' => 'file-text',
'audio' => 'file-audio',
'video' => 'file-video',
],
'filter' => [
'filter' => [
'.gitignore',
'.git',
'.htaccess',

View File

@@ -6,45 +6,45 @@
* Shadow : 0-4.
*/
return [
'navbar' => [
'bg' => 'gray-dark',
'type' => 'dark',
'navbar' => [
'bg' => 'gray-dark',
'type' => 'dark',
'border' => true,
'user' => [
'user' => [
'visible' => false,
'shadow' => 0,
'shadow' => 0,
],
],
'sidebar' => [
'type' => 'dark',
'shadow' => 0,
'border' => false,
'type' => 'dark',
'shadow' => 0,
'border' => false,
'compact' => false,
'links' => [
'bg' => 'gray-dark',
'links' => [
'bg' => 'gray-dark',
'shadow' => 0,
],
'brand' => [
'bg' => 'gray-dark',
'brand' => [
'bg' => 'gray-dark',
'logo' => [
'bg' => 'white',
'icon' => '<i class="fa fa-cubes"></i>',
'text' => '<strong>BO</strong>ilerplate',
'bg' => 'white',
'icon' => '<i class="fa fa-cubes"></i>',
'text' => '<strong>BO</strong>ilerplate',
'shadow' => 2,
],
],
'user' => [
'user' => [
'visible' => true,
'shadow' => 0,
'shadow' => 0,
],
],
'footer' => [
'visible' => true,
'footer' => [
'visible' => true,
'vendorname' => 'Boilerplate',
'vendorlink' => '',
],
'card' => [
'outline' => true,
'card' => [
'outline' => true,
'default_color' => 'info',
],
];

View File

@@ -6,45 +6,45 @@
* Shadow : 0-4.
*/
return [
'navbar' => [
'bg' => 'white',
'type' => 'light',
'navbar' => [
'bg' => 'white',
'type' => 'light',
'border' => true,
'user' => [
'user' => [
'visible' => false,
'shadow' => 0,
'shadow' => 0,
],
],
'sidebar' => [
'type' => 'dark',
'shadow' => 4,
'border' => false,
'type' => 'dark',
'shadow' => 4,
'border' => false,
'compact' => false,
'links' => [
'bg' => 'blue',
'links' => [
'bg' => 'blue',
'shadow' => 1,
],
'brand' => [
'bg' => 'gray-dark',
'brand' => [
'bg' => 'gray-dark',
'logo' => [
'bg' => 'blue',
'icon' => '<i class="fa fa-cubes"></i>',
'text' => '<strong>BO</strong>ilerplate',
'bg' => 'blue',
'icon' => '<i class="fa fa-cubes"></i>',
'text' => '<strong>BO</strong>ilerplate',
'shadow' => 2,
],
],
'user' => [
'user' => [
'visible' => true,
'shadow' => 2,
'shadow' => 2,
],
],
'footer' => [
'visible' => true,
'footer' => [
'visible' => true,
'vendorname' => 'Boilerplate',
'vendorlink' => '',
],
'card' => [
'outline' => true,
'card' => [
'outline' => true,
'default_color' => 'info',
],
];

View File

@@ -6,45 +6,45 @@
* Shadow : 0-4.
*/
return [
'navbar' => [
'bg' => 'green',
'type' => 'dark',
'navbar' => [
'bg' => 'green',
'type' => 'dark',
'border' => true,
'user' => [
'user' => [
'visible' => true,
'shadow' => 0,
'shadow' => 0,
],
],
'sidebar' => [
'type' => 'dark',
'shadow' => 0,
'border' => true,
'type' => 'dark',
'shadow' => 0,
'border' => true,
'compact' => false,
'links' => [
'bg' => 'green',
'links' => [
'bg' => 'green',
'shadow' => 0,
],
'brand' => [
'bg' => 'green',
'brand' => [
'bg' => 'green',
'logo' => [
'bg' => 'green',
'icon' => '<i class="fa fa-leaf"></i>',
'text' => 'Jardin\'enVie',
'bg' => 'green',
'icon' => '<i class="fa fa-leaf"></i>',
'text' => 'Jardin\'enVie',
'shadow' => 2,
],
],
'user' => [
'user' => [
'visible' => false,
'shadow' => 2,
'shadow' => 2,
],
],
'footer' => [
'visible' => true,
'footer' => [
'visible' => true,
'vendorname' => 'JardinEnvie',
'vendorlink' => '',
],
'card' => [
'outline' => true,
'card' => [
'outline' => true,
'default_color' => 'green',
],
];

View File

@@ -6,45 +6,45 @@
* Shadow : 0-4.
*/
return [
'navbar' => [
'bg' => 'red',
'type' => 'dark',
'navbar' => [
'bg' => 'red',
'type' => 'dark',
'border' => true,
'user' => [
'user' => [
'visible' => true,
'shadow' => 0,
'shadow' => 0,
],
],
'sidebar' => [
'type' => 'dark',
'shadow' => 0,
'border' => true,
'type' => 'dark',
'shadow' => 0,
'border' => true,
'compact' => false,
'links' => [
'bg' => 'red',
'links' => [
'bg' => 'red',
'shadow' => 0,
],
'brand' => [
'bg' => 'red',
'brand' => [
'bg' => 'red',
'logo' => [
'bg' => 'white',
'icon' => '<i class="fa fa-cubes"></i>',
'text' => '<strong>BO</strong>ilerplate',
'bg' => 'white',
'icon' => '<i class="fa fa-cubes"></i>',
'text' => '<strong>BO</strong>ilerplate',
'shadow' => 2,
],
],
'user' => [
'user' => [
'visible' => false,
'shadow' => 2,
'shadow' => 2,
],
],
'footer' => [
'visible' => true,
'footer' => [
'visible' => true,
'vendorname' => 'Boilerplate',
'vendorlink' => '',
],
'card' => [
'outline' => true,
'card' => [
'outline' => true,
'default_color' => 'red',
],
];

View File

@@ -15,4 +15,4 @@ return [
*/
'user_model' => null,
];
];

View File

@@ -4,7 +4,7 @@ return [
/*
* Namespaces used by the generator.
*/
'namespace' => [
'namespace' => [
/*
* Base namespace/directory to create the new file.
* This is appended on default Laravel namespace.
@@ -13,7 +13,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.
@@ -42,12 +42,12 @@ return [
/*
* Snappy PDF options.
*/
'snappy' => [
'options' => [
'no-outline' => true,
'margin-left' => '0',
'margin-right' => '0',
'margin-top' => '10mm',
'snappy' => [
'options' => [
'no-outline' => true,
'margin-left' => '0',
'margin-right' => '0',
'margin-top' => '10mm',
'margin-bottom' => '10mm',
],
'orientation' => 'landscape',
@@ -56,9 +56,9 @@ return [
/*
* Default html builder parameters.
*/
'parameters' => [
'dom' => 'Bfrtip',
'order' => [[0, 'desc']],
'parameters' => [
'dom' => 'Bfrtip',
'order' => [[0, 'desc']],
'buttons' => [
'create',
'export',
@@ -71,7 +71,7 @@ return [
/*
* Generator command default options value.
*/
'generator' => [
'generator' => [
/*
* Default columns to generate when not set.
*/

View File

@@ -4,7 +4,7 @@ return [
/*
* Request key name to parse includes on fractal.
*/
'includes' => 'include',
'includes' => 'include',
/*
* Default fractal serializer.

View File

@@ -12,7 +12,7 @@ return [
*/
'table' => [
'class' => 'table',
'id' => 'dataTableBuilder',
'id' => 'dataTableBuilder',
],
/*

View File

@@ -4,17 +4,17 @@ return [
/*
* DataTables search options.
*/
'search' => [
'search' => [
/*
* Smart search will enclose search keyword with wildcard string "%keyword%".
* SQL: column LIKE "%keyword%"
*/
'smart' => true,
'smart' => true,
/*
* Multi-term search will explode search keyword using spaces resulting into multiple term search.
*/
'multi_term' => true,
'multi_term' => true,
/*
* Case insensitive will search the keyword in lower case format.
@@ -26,29 +26,29 @@ 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,
/*
* Perform a search which starts with the given keyword.
* SQL: column LIKE "keyword%"
*/
'starts_with' => false,
'starts_with' => false,
],
/*
* DataTables internal index id response column name.
*/
'index_column' => 'DT_RowIndex',
'index_column' => 'DT_RowIndex',
/*
* List of available builders for DataTables.
* This is where you can register your custom dataTables builder.
*/
'engines' => [
'eloquent' => Yajra\DataTables\EloquentDataTable::class,
'query' => Yajra\DataTables\QueryDataTable::class,
'engines' => [
'eloquent' => Yajra\DataTables\EloquentDataTable::class,
'query' => Yajra\DataTables\QueryDataTable::class,
'collection' => Yajra\DataTables\CollectionDataTable::class,
'resource' => Yajra\DataTables\ApiResourceDataTable::class,
'resource' => Yajra\DataTables\ApiResourceDataTable::class,
],
/*
@@ -56,7 +56,7 @@ return [
* This is where you can override which engine a builder should use
* Note, only change this if you know what you are doing!
*/
'builders' => [
'builders' => [
//Illuminate\Database\Eloquent\Relations\Relation::class => 'eloquent',
//Illuminate\Database\Eloquent\Builder::class => 'eloquent',
//Illuminate\Database\Query\Builder::class => 'query',
@@ -76,28 +76,28 @@ return [
* 'throw' - Throws a \Yajra\DataTables\Exceptions\Exception. Use your custom error handler if needed.
* 'custom message' - Any friendly message to be displayed to the user. You can also use translation key.
*/
'error' => env('DATATABLES_ERROR', null),
'error' => env('DATATABLES_ERROR', null),
/*
* Default columns definition of dataTable utility functions.
*/
'columns' => [
'columns' => [
/*
* List of columns hidden/removed on json response.
*/
'excess' => ['rn', 'row_num'],
'excess' => ['rn', 'row_num'],
/*
* List of columns to be escaped. If set to *, all columns are escape.
* Note: You can set the value to empty array to disable XSS protection.
*/
'escape' => '*',
'escape' => '*',
/*
* List of columns that are allowed to display html content.
* Note: Adding columns to list will make us available to XSS attacks.
*/
'raw' => ['action'],
'raw' => ['action'],
/*
* List of columns are are forbidden from being searched/sorted.
@@ -114,8 +114,8 @@ return [
/*
* JsonResponse header and options config.
*/
'json' => [
'header' => [],
'json' => [
'header' => [],
'options' => 0,
],

View File

@@ -33,13 +33,13 @@ return [
|
*/
'storage' => [
'enabled' => true,
'driver' => 'file', // redis, file, pdo, socket, custom
'path' => storage_path('debugbar'), // For file driver
'enabled' => true,
'driver' => 'file', // redis, file, pdo, socket, custom
'path' => storage_path('debugbar'), // For file driver
'connection' => null, // Leave null for default connection (Redis/PDO)
'provider' => '', // Instance of StorageInterface for custom driver
'hostname' => '127.0.0.1', // Hostname to use with the "socket" driver
'port' => 2304, // Port to use with the "socket" driver
'provider' => '', // Instance of StorageInterface for custom driver
'hostname' => '127.0.0.1', // Hostname to use with the "socket" driver
'port' => 2304, // Port to use with the "socket" driver
],
/*
@@ -107,29 +107,29 @@ 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
'auth' => false, // Display Laravel authentication status
'gate' => true, // Display Laravel Gate checks
'session' => true, // Display session data
'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
'auth' => false, // Display Laravel authentication status
'gate' => true, // Display Laravel Gate checks
'session' => true, // Display session data
'symfony_request' => true, // Only one can be enabled..
'mail' => true, // Catch mail messages
'laravel' => false, // Laravel version and environment
'events' => false, // All events fired
'mail' => true, // Catch mail messages
'laravel' => false, // Laravel version and environment
'events' => false, // All events fired
'default_request' => false, // Regular or special Symfony request logger
'logs' => false, // Add the latest log messages
'files' => false, // Show the included files
'config' => false, // Display config settings
'cache' => false, // Display cache events
'models' => true, // Display models
'livewire' => true, // Display Livewire (when available)
'logs' => false, // Add the latest log messages
'files' => false, // Show the included files
'config' => false, // Display config settings
'cache' => false, // Display cache events
'models' => true, // Display models
'livewire' => true, // Display Livewire (when available)
],
/*
@@ -146,17 +146,17 @@ return [
'show_name' => true, // Also show the users name/email in the debugbar
],
'db' => [
'with_params' => true, // Render SQL with the parameters substituted
'backtrace' => true, // Use a backtrace to find the origin of the query in your files.
'with_params' => true, // Render SQL with the parameters substituted
'backtrace' => true, // Use a backtrace to find the origin of the query in your files.
'backtrace_exclude_paths' => [], // Paths to exclude from backtrace. (in addition to defaults)
'timeline' => false, // Add the queries to the timeline
'duration_background' => true, // Show shaded background on each query relative to how long it took to execute.
'timeline' => false, // Add the queries to the timeline
'duration_background' => true, // Show shaded background on each query relative to how long it took to execute.
'explain' => [ // Show EXPLAIN output on queries
'enabled' => false,
'types' => ['SELECT'], // Deprecated setting, is always only SELECT
],
'hints' => false, // Show hints for common mistakes
'show_copy' => false, // Show copy button next to the query
'hints' => false, // Show hints for common mistakes
'show_copy' => false, // Show copy button next to the query
],
'mail' => [
'full_log' => false,

View File

@@ -37,7 +37,7 @@ return [
| Hooks
|--------------------------------------------------------------------------
|
| Hooks let you customize your deployments conveniently by pushing tasks
| Hooks let you customize your deployments conveniently by pushing tasks
| into strategic places of your deployment flow. Each of the official
| strategies invoke hooks in different ways to implement their logic.
|
@@ -48,13 +48,13 @@ return [
'start' => [
//
],
// Code and composer vendors are ready but nothing is built.
'build' => [
'yarn:install',
'yarn:production',
],
// Deployment is done but not live yet (before symlink)
'ready' => [
'artisan:storage:link',
@@ -63,22 +63,22 @@ return [
'artisan:config:cache',
'artisan:migrate',
],
// Deployment is done and live
'done' => [
//
],
// Deployment succeeded.
'success' => [
//
],
// Deployment failed.
'fail' => [
//
],
// After a deployment has been rolled back.
'rollback' => [
//
@@ -139,7 +139,7 @@ return [
| Include additional Deployer recipes
|--------------------------------------------------------------------------
|
| Here, you can add any third party recipes to provide additional tasks,
| Here, you can add any third party recipes to provide additional tasks,
| options and strategies. Therefore, it also allows you to create and
| include your own recipes to define more complex deployment flows.
|
@@ -162,4 +162,4 @@ return [
'custom_deployer_file' => false,
];
];

View File

@@ -1,6 +1,6 @@
<?php
return array(
return [
/*
|--------------------------------------------------------------------------
@@ -13,7 +13,7 @@ return array(
*/
'show_warnings' => false, // Throw an Exception on warnings from dompdf
'orientation' => 'portrait',
'defines' => array(
'defines' => [
/**
* The location of the DOMPDF font directory
*
@@ -38,7 +38,7 @@ return array(
* Times-Roman, Times-Bold, Times-BoldItalic, Times-Italic,
* Symbol, ZapfDingbats.
*/
"font_dir" => storage_path('fonts/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
'font_dir' => storage_path('fonts/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782)
/**
* The location of the DOMPDF font cache directory
@@ -48,7 +48,7 @@ return array(
*
* Note: This directory must exist and be writable by the webserver process.
*/
"font_cache" => storage_path('fonts/'),
'font_cache' => storage_path('fonts/'),
/**
* The location of a temporary directory.
@@ -57,7 +57,7 @@ return array(
* The temporary directory is required to download remote images and when
* using the PFDLib back end.
*/
"temp_dir" => sys_get_temp_dir(),
'temp_dir' => sys_get_temp_dir(),
/**
* ==== IMPORTANT ====
@@ -71,20 +71,19 @@ return array(
* direct class use like:
* $dompdf = new DOMPDF(); $dompdf->load_html($htmldata); $dompdf->render(); $pdfdata = $dompdf->output();
*/
"chroot" => realpath(base_path()),
'chroot' => realpath(base_path()),
/**
* Whether to enable font subsetting or not.
*/
"enable_font_subsetting" => false,
'enable_font_subsetting' => false,
/**
* The PDF rendering backend to use
*
* Valid settings are 'PDFLib', 'CPDF' (the bundled R&OS PDF class), 'GD' and
* 'auto'. 'auto' will look for PDFLib and use it if found, or if not it will
* fall back on CPDF. 'GD' renders PDFs to graphic files. {@link
* Canvas_Factory} ultimately determines which rendering class to instantiate
* fall back on CPDF. 'GD' renders PDFs to graphic files. {@link * Canvas_Factory} ultimately determines which rendering class to instantiate
* based on this setting.
*
* Both PDFLib & CPDF rendering backends provide sufficient rendering
@@ -106,7 +105,7 @@ return array(
* @link http://www.ros.co.nz/pdf
* @link http://www.php.net/image
*/
"pdf_backend" => "CPDF",
'pdf_backend' => 'CPDF',
/**
* PDFlib license key
@@ -132,7 +131,7 @@ return array(
* the desired content might be different (e.g. screen or projection view of html file).
* Therefore allow specification of content here.
*/
"default_media_type" => "screen",
'default_media_type' => 'screen',
/**
* The default paper size.
@@ -141,15 +140,16 @@ return array(
*
* @see CPDF_Adapter::PAPER_SIZES for valid sizes ('letter', 'legal', 'A4', etc.)
*/
"default_paper_size" => "a4",
'default_paper_size' => 'a4',
/**
* The default font family
*
* Used if no suitable fonts can be found. This must exist in the font folder.
*
* @var string
*/
"default_font" => "serif",
'default_font' => 'serif',
/**
* Image DPI setting
@@ -184,7 +184,7 @@ return array(
*
* @var int
*/
"dpi" => 96,
'dpi' => 96,
/**
* Enable inline PHP
@@ -198,7 +198,7 @@ return array(
*
* @var bool
*/
"enable_php" => false,
'enable_php' => false,
/**
* Enable inline Javascript
@@ -208,7 +208,7 @@ return array(
*
* @var bool
*/
"enable_javascript" => true,
'enable_javascript' => true,
/**
* Enable remote file access
@@ -227,18 +227,17 @@ return array(
*
* @var bool
*/
"enable_remote" => true,
'enable_remote' => true,
/**
* A ratio applied to the fonts height to be more like browsers' line height
*/
"font_height_ratio" => 1.1,
'font_height_ratio' => 1.1,
/**
* Use the more-than-experimental HTML5 Lib parser
*/
"enable_html5_parser" => false,
),
'enable_html5_parser' => false,
],
);
];

View File

@@ -87,19 +87,19 @@ return [
'pad' => 0.5,
'ranksep' => 2,
'esep' => true,
'fontname' => 'Helvetica Neue'
'fontname' => 'Helvetica Neue',
],
'node' => [
'margin' => 0,
'shape' => 'rectangle',
'fontname' => 'Helvetica Neue'
'fontname' => 'Helvetica Neue',
],
'edge' => [
'color' => '#003049',
'penwidth' => 1.8,
'fontname' => 'Helvetica Neue'
'fontname' => 'Helvetica Neue',
],
'relations' => [
@@ -121,6 +121,6 @@ return [
'arrowhead' => 'crow',
'arrowtail' => 'none',
],
]
],
];

View File

@@ -14,7 +14,7 @@ return [
| Here you can specify how big the chunk should be.
|
*/
'chunk_size' => 1000,
'chunk_size' => 1000,
/*
|--------------------------------------------------------------------------
@@ -41,13 +41,13 @@ return [
| Configure e.g. delimiter, enclosure and line ending for CSV exports.
|
*/
'csv' => [
'delimiter' => ',',
'enclosure' => '"',
'line_ending' => PHP_EOL,
'use_bom' => false,
'csv' => [
'delimiter' => ',',
'enclosure' => '"',
'line_ending' => PHP_EOL,
'use_bom' => false,
'include_separator_line' => false,
'excel_compatibility' => false,
'excel_compatibility' => false,
],
/*
@@ -58,20 +58,20 @@ return [
| Configure e.g. default title, creator, subject,...
|
*/
'properties' => [
'creator' => '',
'properties' => [
'creator' => '',
'lastModifiedBy' => '',
'title' => '',
'description' => '',
'subject' => '',
'keywords' => '',
'category' => '',
'manager' => '',
'company' => '',
'title' => '',
'description' => '',
'subject' => '',
'keywords' => '',
'category' => '',
'manager' => '',
'company' => '',
],
],
'imports' => [
'imports' => [
/*
|--------------------------------------------------------------------------
@@ -120,12 +120,12 @@ return [
| Configure e.g. delimiter, enclosure and line ending for CSV imports.
|
*/
'csv' => [
'delimiter' => ',',
'enclosure' => '"',
'csv' => [
'delimiter' => ',',
'enclosure' => '"',
'escape_character' => '\\',
'contiguous' => false,
'input_encoding' => 'UTF-8',
'contiguous' => false,
'input_encoding' => 'UTF-8',
],
/*
@@ -136,16 +136,16 @@ return [
| Configure e.g. default title, creator, subject,...
|
*/
'properties' => [
'creator' => '',
'properties' => [
'creator' => '',
'lastModifiedBy' => '',
'title' => '',
'description' => '',
'subject' => '',
'keywords' => '',
'category' => '',
'manager' => '',
'company' => '',
'title' => '',
'description' => '',
'subject' => '',
'keywords' => '',
'category' => '',
'manager' => '',
'company' => '',
],
],
@@ -160,21 +160,21 @@ return [
|
*/
'extension_detector' => [
'xlsx' => Excel::XLSX,
'xlsm' => Excel::XLSX,
'xltx' => Excel::XLSX,
'xltm' => Excel::XLSX,
'xls' => Excel::XLS,
'xlt' => Excel::XLS,
'ods' => Excel::ODS,
'ots' => Excel::ODS,
'slk' => Excel::SLK,
'xml' => Excel::XML,
'xlsx' => Excel::XLSX,
'xlsm' => Excel::XLSX,
'xltx' => Excel::XLSX,
'xltm' => Excel::XLSX,
'xls' => Excel::XLS,
'xlt' => Excel::XLS,
'ods' => Excel::ODS,
'ots' => Excel::ODS,
'slk' => Excel::SLK,
'xml' => Excel::XML,
'gnumeric' => Excel::GNUMERIC,
'htm' => Excel::HTML,
'html' => Excel::HTML,
'csv' => Excel::CSV,
'tsv' => Excel::TSV,
'htm' => Excel::HTML,
'html' => Excel::HTML,
'csv' => Excel::CSV,
'tsv' => Excel::TSV,
/*
|--------------------------------------------------------------------------
@@ -185,7 +185,7 @@ return [
| Available options: Excel::MPDF | Excel::TCPDF | Excel::DOMPDF
|
*/
'pdf' => Excel::DOMPDF,
'pdf' => Excel::DOMPDF,
],
/*
@@ -226,7 +226,7 @@ return [
| Drivers: memory|illuminate|batch
|
*/
'driver' => 'memory',
'driver' => 'memory',
/*
|--------------------------------------------------------------------------
@@ -238,7 +238,7 @@ return [
| Here you can tweak the memory limit to your liking.
|
*/
'batch' => [
'batch' => [
'memory_limit' => 60000,
],
@@ -289,7 +289,7 @@ return [
| storing reading or downloading. Here you can customize that path.
|
*/
'local_path' => storage_path('framework/laravel-excel'),
'local_path' => storage_path('framework/laravel-excel'),
/*
|--------------------------------------------------------------------------
@@ -305,8 +305,8 @@ return [
| in conjunction with queued imports and exports.
|
*/
'remote_disk' => null,
'remote_prefix' => null,
'remote_disk' => null,
'remote_prefix' => null,
/*
|--------------------------------------------------------------------------

View File

@@ -48,15 +48,15 @@ return [
*/
'send_logs_as_events' => true,
/*
|--------------------------------------------------------------------------
| Censor request body fields
|--------------------------------------------------------------------------
|
| These fields will be censored from your request when sent to Flare.
| These fields will be censored from your request when sent to Flare.
|
*/
'censor_request_body_fields' => ['password'],
];

View File

@@ -22,21 +22,20 @@ return [
'view_template_path' => base_path('vendor/oscarafdev/laravel-4-generators/src/Way/Generators/Templates/view.txt'),
/*
|--------------------------------------------------------------------------
| Where the generated files will be saved...
|--------------------------------------------------------------------------
|
*/
'model_target_path' => app_path(),
'model_target_path' => app_path(),
'controller_target_path' => app_path('Http/Controllers'),
'controller_target_path' => app_path('Http/Controllers'),
'migration_target_path' => base_path('database/migrations'),
'migration_target_path' => base_path('database/migrations'),
'seed_target_path' => base_path('database/seeds'),
'seed_target_path' => base_path('database/seeds'),
'view_target_path' => base_path('resources/views')
'view_target_path' => base_path('resources/views'),
];

View File

@@ -61,7 +61,7 @@ return [
env('GOOGLE_MAPS_LOCALE', 'us'),
env('GOOGLE_MAPS_API_KEY'),
],
GeoPlugin::class => [],
GeoPlugin::class => [],
],
],
@@ -79,7 +79,7 @@ return [
| Default: Client::class (FQCN for CURL adapter)
|
*/
'adapter' => Client::class,
'adapter' => Client::class,
/*
|---------------------------------------------------------------------------

View File

@@ -307,7 +307,7 @@ return [
| hidden and a count is shown.
|
*/
'size' => 2
'size' => 2,
],

View File

@@ -1,23 +1,23 @@
<?php
return array(
// --- The default avatar size
'size' => 80,
return [
// --- The default avatar size
'size' => 80,
// --- The default avatar to display if we have no results
// (bool) false
// (string) 404
// (string) mm: (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash).
// (string) identicon: a geometric pattern based on an email hash.
// (string) monsterid: a generated 'monster' with different colors, faces, etc.
// (string) wavatar: generated faces with differing features and backgrounds.
// (string) retro: awesome generated, 8-bit arcade-style pixelated faces.
'default' => 'identicon',
// --- The default avatar to display if we have no results
// (bool) false
// (string) 404
// (string) mm: (mystery-man) a simple, cartoon-style silhouetted outline of a person (does not vary by email hash).
// (string) identicon: a geometric pattern based on an email hash.
// (string) monsterid: a generated 'monster' with different colors, faces, etc.
// (string) wavatar: generated faces with differing features and backgrounds.
// (string) retro: awesome generated, 8-bit arcade-style pixelated faces.
'default' => 'identicon',
// --- Set the type of avatars we allow to show
// - g: suitable for display on all websites with any audience type.
// - pg: may contain rude gestures, provocatively dressed individuals, the lesser swear words, or mild violence.
// - r: may contain such things as harsh profanity, intense violence, nudity, or hard drug use.
// - x: may contain hardcore sexual imagery or extremely disturbing violence.
'maxRating' => 'g'
);
// --- Set the type of avatars we allow to show
// - g: suitable for display on all websites with any audience type.
// - pg: may contain rude gestures, provocatively dressed individuals, the lesser swear words, or mild violence.
// - r: may contain such things as harsh profanity, intense violence, nudity, or hard drug use.
// - x: may contain hardcore sexual imagery or extremely disturbing violence.
'maxRating' => 'g',
];

View File

@@ -44,6 +44,6 @@ return [
| Password to access the secured realm in combination with the username.
|
*/
'password' => '1234'
'password' => '1234',
];

View File

@@ -15,6 +15,6 @@ return [
|
*/
'driver' => 'gd'
'driver' => 'gd',
];

View File

@@ -32,7 +32,7 @@ return [
'paths' => [
public_path('upload'),
public_path('images')
public_path('images'),
],
/*

View File

@@ -103,11 +103,11 @@ return [
*/
'requirements' => [
// 'min-quality' => 0,
// 'min-complexity' => 0,
// 'min-architecture' => 0,
// 'min-style' => 0,
// 'disable-security-check' => false,
// 'min-quality' => 0,
// 'min-complexity' => 0,
// 'min-architecture' => 0,
// 'min-style' => 0,
// 'disable-security-check' => false,
],
];

View File

@@ -25,6 +25,6 @@ return [
| That way, you can access vars, like "SomeNamespace.someVariable."
|
*/
'js_namespace' => 'window'
'js_namespace' => 'window',
];

View File

@@ -184,7 +184,7 @@ return [
*/
'abort' => [
'code' => 403,
'message' => 'User does not have any of the necessary access rights.'
'message' => 'User does not have any of the necessary access rights.',
],
/**
@@ -197,10 +197,10 @@ return [
'url' => '/home',
'message' => [
'key' => 'error',
'content' => ''
]
]
]
'content' => '',
],
],
],
],
'teams' => [
@@ -330,5 +330,5 @@ return [
// The user won't be able to delete the role.
'not_deletable' => [],
],
]
],
];

View File

@@ -15,24 +15,24 @@ return [
'superadministrator' => [
'users' => 'c,r,u,d',
'payments' => 'c,r,u,d',
'profile' => 'r,u'
'profile' => 'r,u',
],
'administrator' => [
'users' => 'c,r,u,d',
'profile' => 'r,u'
'profile' => 'r,u',
],
'user' => [
'profile' => 'r,u',
],
'role_name' => [
'module_1_name' => 'c,r,u,d',
]
],
],
'permissions_map' => [
'c' => 'create',
'r' => 'read',
'u' => 'update',
'd' => 'delete'
]
'd' => 'delete',
],
];

View File

@@ -6,35 +6,35 @@ return [
//Example
//\App\Http\Middleware\NotFoundWhenProduction::class,
],
'models_path' => base_path('app/Models'),
'docs_path' => base_path('docs/erd/'),
'models_path' => base_path('app/Models'),
'docs_path' => base_path('docs/erd/'),
"display" => [
"show_data_type" => false,
'display' => [
'show_data_type' => false,
],
"from_text" => [
"BelongsTo" => "1..1\nBelongs To",
"BelongsToMany" => "1..*\nBelongs To Many",
"HasMany" => "1..*\nHas Many",
"HasOne" => "1..1\nHas One",
"ManyToMany" => "*..*\nMany To Many",
"ManyToOne" => "*..1\nMany To One",
"OneToMany" => "1..*\nOne To Many",
"OneToOne" => "1..1\nOne To One",
"MorphTo" => "1..1\n",
"MorphToMany" => "1..*\n",
'from_text' => [
'BelongsTo' => "1..1\nBelongs To",
'BelongsToMany' => "1..*\nBelongs To Many",
'HasMany' => "1..*\nHas Many",
'HasOne' => "1..1\nHas One",
'ManyToMany' => "*..*\nMany To Many",
'ManyToOne' => "*..1\nMany To One",
'OneToMany' => "1..*\nOne To Many",
'OneToOne' => "1..1\nOne To One",
'MorphTo' => "1..1\n",
'MorphToMany' => "1..*\n",
],
"to_text" => [
"BelongsTo" => "",
"BelongsToMany" => "",
"HasMany" => "",
"HasOne" => "",
"ManyToMany" => "",
"ManyToOne" => "",
"OneToMany" => "",
"OneToOne" => "",
"MorphTo" => "",
"MorphToMany" => "",
'to_text' => [
'BelongsTo' => '',
'BelongsToMany' => '',
'HasMany' => '',
'HasOne' => '',
'ManyToMany' => '',
'ManyToOne' => '',
'OneToMany' => '',
'OneToOne' => '',
'MorphTo' => '',
'MorphToMany' => '',
],
];

View File

@@ -1,7 +1,7 @@
<?php
return array(
'default' => array(
return [
'default' => [
'auto_activate' => true,
'activate_parents' => true,
'active_class' => 'active',
@@ -10,5 +10,5 @@ return array(
'rest_base' => '', // string|array
'active_element' => 'item', // item|link
'data-toggle-attribute' => 'data-toggle',
),
);
],
];

View File

@@ -1,5 +1,5 @@
<?php
return array(
return [
'bootstrap-items' => 'laravel-menu::bootstrap-navbar-items',
);
];

View File

@@ -13,10 +13,10 @@ return [
/*
* Relative path from the base directory to a regular widget stub.
*/
'widget_stub' => 'vendor/arrilot/laravel-widgets/src/Console/stubs/widget.stub',
'widget_stub' => 'vendor/arrilot/laravel-widgets/src/Console/stubs/widget.stub',
/*
* Relative path from the base directory to a plain widget stub.
*/
'widget_plain_stub' => 'vendor/arrilot/laravel-widgets/src/Console/stubs/widget_plain.stub',
'widget_plain_stub' => 'vendor/arrilot/laravel-widgets/src/Console/stubs/widget_plain.stub',
];

View File

@@ -48,7 +48,7 @@ return [
// Fonts used to render text.
// If contains more than one fonts, randomly selected based on name supplied
'fonts' => [__DIR__ . '/../fonts/OpenSans-Bold.ttf', __DIR__ . '/../fonts/rockwell.ttf'],
'fonts' => [__DIR__.'/../fonts/OpenSans-Bold.ttf', __DIR__.'/../fonts/rockwell.ttf'],
// List of foreground colors to be used, randomly selected based on name supplied
'foregrounds' => [

View File

@@ -15,7 +15,7 @@ return [
|--------------------------------------------------------------------------
*/
'use_package_routes' => true,
'use_package_routes' => true,
/*
|--------------------------------------------------------------------------
@@ -26,18 +26,18 @@ return [
|
*/
'allow_private_folder' => true,
'allow_private_folder' => true,
// Flexible way to customize client folders accessibility
// If you want to customize client folders, publish tag="lfm_handler"
// Then you can rewrite userField function in App\Handler\ConfigHandler class
// And set 'user_field' to App\Handler\ConfigHandler::class
// Ex: The private folder of user will be named as the user id.
'private_folder_name' => UniSharp\LaravelFilemanager\Handlers\ConfigHandler::class,
'private_folder_name' => UniSharp\LaravelFilemanager\Handlers\ConfigHandler::class,
'allow_shared_folder' => true,
'allow_shared_folder' => true,
'shared_folder_name' => 'shares',
'shared_folder_name' => 'shares',
/*
|--------------------------------------------------------------------------
@@ -45,15 +45,15 @@ return [
|--------------------------------------------------------------------------
*/
'folder_categories' => [
'file' => [
'folder_name' => 'files',
'folder_categories' => [
'file' => [
'folder_name' => 'files',
'startup_view' => 'list',
'max_size' => 50000, // size in KB
'max_size' => 50000, // size in KB
'thumb' => true,
'thumb_width' => 80,
'thumb_height' => 80,
'valid_mime' => [
'valid_mime' => [
'image/jpeg',
'image/pjpeg',
'image/png',
@@ -63,13 +63,13 @@ return [
],
],
'image' => [
'folder_name' => 'photos',
'folder_name' => 'photos',
'startup_view' => 'grid',
'max_size' => 50000, // size in KB
'max_size' => 50000, // size in KB
'thumb' => true,
'thumb_width' => 80,
'thumb_height' => 80,
'valid_mime' => [
'valid_mime' => [
'image/jpeg',
'image/pjpeg',
'image/png',
@@ -94,24 +94,24 @@ return [
|--------------------------------------------------------------------------
*/
'disk' => 'public',
'disk' => 'public',
'rename_file' => false,
'rename_file' => false,
'rename_duplicates' => false,
'rename_duplicates' => false,
'alphanumeric_filename' => false,
'alphanumeric_filename' => false,
'alphanumeric_directory' => false,
'alphanumeric_directory' => false,
'should_validate_size' => false,
'should_validate_size' => false,
'should_validate_mime' => true,
'should_validate_mime' => true,
// behavior on files with identical name
// setting it to true cause old file replace with new one
// setting it to false show `error-file-exist` error and stop upload
'over_write_on_duplicate' => false,
'over_write_on_duplicate' => false,
// mimetypes of executables to prevent from uploading
'disallowed_mimetypes' => ['text/x-php', 'text/html', 'text/plain'],
@@ -128,18 +128,18 @@ return [
// If true, image thumbnails would be created during upload
'should_create_thumbnails' => true,
'thumb_folder_name' => 'thumbs',
'thumb_folder_name' => 'thumbs',
// Create thumbnails automatically only for listed types.
'raster_mimetypes' => [
'raster_mimetypes' => [
'image/jpeg',
'image/pjpeg',
'image/png',
],
'thumb_img_width' => 200, // px
'thumb_img_width' => 200, // px
'thumb_img_height' => 200, // px
'thumb_img_height' => 200, // px
/*
|--------------------------------------------------------------------------
@@ -147,18 +147,18 @@ return [
|--------------------------------------------------------------------------
*/
'file_type_array' => [
'pdf' => 'Adobe Acrobat',
'doc' => 'Microsoft Word',
'file_type_array' => [
'pdf' => 'Adobe Acrobat',
'doc' => 'Microsoft Word',
'docx' => 'Microsoft Word',
'xls' => 'Microsoft Excel',
'xls' => 'Microsoft Excel',
'xlsx' => 'Microsoft Excel',
'zip' => 'Archive',
'gif' => 'GIF Image',
'jpg' => 'JPEG Image',
'zip' => 'Archive',
'gif' => 'GIF Image',
'jpg' => 'JPEG Image',
'jpeg' => 'JPEG Image',
'png' => 'PNG Image',
'ppt' => 'Microsoft PowerPoint',
'png' => 'PNG Image',
'ppt' => 'Microsoft PowerPoint',
'pptx' => 'Microsoft PowerPoint',
],
@@ -173,7 +173,7 @@ return [
| Please note that the 'upload_max_filesize' & 'post_max_size'
| directives are not supported.
*/
'php_ini_overrides' => [
'php_ini_overrides' => [
'memory_limit' => '256M',
],
];

View File

@@ -9,16 +9,16 @@ return [
| -----------------------------------------------------------------
*/
'storage-path' => storage_path('logs'),
'storage-path' => storage_path('logs'),
/* -----------------------------------------------------------------
| Log files pattern
| -----------------------------------------------------------------
*/
'pattern' => [
'prefix' => Filesystem::PATTERN_PREFIX, // 'laravel-'
'date' => Filesystem::PATTERN_DATE, // '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]'
'pattern' => [
'prefix' => Filesystem::PATTERN_PREFIX, // 'laravel-'
'date' => Filesystem::PATTERN_DATE, // '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]'
'extension' => Filesystem::PATTERN_EXTENSION, // '.log'
],
@@ -30,7 +30,7 @@ return [
| 'pl', 'pt-BR', 'ro', 'ru', 'sv', 'th', 'tr', 'zh-TW', 'zh'
*/
'locale' => 'auto',
'locale' => 'auto',
/* -----------------------------------------------------------------
| Theme
@@ -40,18 +40,18 @@ return [
| Make your own theme by adding a folder to the views directory and specifying it here.
*/
'theme' => 'bootstrap-4',
'theme' => 'bootstrap-4',
/* -----------------------------------------------------------------
| Route settings
| -----------------------------------------------------------------
*/
'route' => [
'enabled' => true,
'route' => [
'enabled' => true,
'attributes' => [
'prefix' => 'log-viewer',
'prefix' => 'log-viewer',
'middleware' => env('ARCANEDEV_LOGVIEWER_MIDDLEWARE') ? explode(',', env('ARCANEDEV_LOGVIEWER_MIDDLEWARE')) : null,
],
@@ -63,15 +63,15 @@ return [
| This defines how many logs & entries are displayed per page.
*/
'per-page' => 30,
'per-page' => 30,
/* -----------------------------------------------------------------
| Download settings
| -----------------------------------------------------------------
*/
'download' => [
'prefix' => 'laravel-',
'download' => [
'prefix' => 'laravel-',
'extension' => 'log',
],
@@ -81,8 +81,8 @@ return [
| -----------------------------------------------------------------
*/
'menu' => [
'filter-route' => 'log-viewer::logs.filter',
'menu' => [
'filter-route' => 'log-viewer::logs.filter',
'icons-enabled' => true,
],
@@ -92,20 +92,20 @@ return [
| -----------------------------------------------------------------
*/
'icons' => [
'icons' => [
/**
* Font awesome >= 4.3
* http://fontawesome.io/icons/
*/
'all' => 'fa fa-fw fa-list', // http://fontawesome.io/icon/list/
'all' => 'fa fa-fw fa-list', // http://fontawesome.io/icon/list/
'emergency' => 'fa fa-fw fa-bug', // http://fontawesome.io/icon/bug/
'alert' => 'fa fa-fw fa-bullhorn', // http://fontawesome.io/icon/bullhorn/
'critical' => 'fa fa-fw fa-heartbeat', // http://fontawesome.io/icon/heartbeat/
'error' => 'fa fa-fw fa-times-circle', // http://fontawesome.io/icon/times-circle/
'warning' => 'fa fa-fw fa-exclamation-triangle', // http://fontawesome.io/icon/exclamation-triangle/
'notice' => 'fa fa-fw fa-exclamation-circle', // http://fontawesome.io/icon/exclamation-circle/
'info' => 'fa fa-fw fa-info-circle', // http://fontawesome.io/icon/info-circle/
'debug' => 'fa fa-fw fa-life-ring', // http://fontawesome.io/icon/life-ring/
'alert' => 'fa fa-fw fa-bullhorn', // http://fontawesome.io/icon/bullhorn/
'critical' => 'fa fa-fw fa-heartbeat', // http://fontawesome.io/icon/heartbeat/
'error' => 'fa fa-fw fa-times-circle', // http://fontawesome.io/icon/times-circle/
'warning' => 'fa fa-fw fa-exclamation-triangle', // http://fontawesome.io/icon/exclamation-triangle/
'notice' => 'fa fa-fw fa-exclamation-circle', // http://fontawesome.io/icon/exclamation-circle/
'info' => 'fa fa-fw fa-info-circle', // http://fontawesome.io/icon/info-circle/
'debug' => 'fa fa-fw fa-life-ring', // http://fontawesome.io/icon/life-ring/
],
/* -----------------------------------------------------------------
@@ -113,18 +113,18 @@ return [
| -----------------------------------------------------------------
*/
'colors' => [
'levels' => [
'empty' => '#D1D1D1',
'all' => '#8A8A8A',
'colors' => [
'levels' => [
'empty' => '#D1D1D1',
'all' => '#8A8A8A',
'emergency' => '#B71C1C',
'alert' => '#D32F2F',
'critical' => '#F44336',
'error' => '#FF5722',
'warning' => '#FF9100',
'notice' => '#4CAF50',
'info' => '#1976D2',
'debug' => '#90CAF9',
'alert' => '#D32F2F',
'critical' => '#F44336',
'error' => '#FF5722',
'warning' => '#FF9100',
'notice' => '#4CAF50',
'info' => '#1976D2',
'debug' => '#90CAF9',
],
],

View File

@@ -9,9 +9,7 @@ return [
* This option determines where all the generated email previews will be
* stored for the application. Typically, this is within the storage
* directory. However, you may change the location as you desire.
*
*/
'path' => storage_path('email-previews'),
/**
@@ -22,9 +20,7 @@ return [
* This option determines how long (in seconds) the mail transformer should
* keep the generated preview files before deleting them. By default it's
* set to 60 seconds, but you can change this to whatever you desire.
*
*/
'maximum_lifetime' => 60,
/**
@@ -35,9 +31,7 @@ return [
* This option determines if you would like to show a HTML link at the top
* left corner of your screen every time and email is sent from your
* system, the link will point the browser to the preview file.
*
*/
'show_link_to_preview' => true,
/**
@@ -46,7 +40,6 @@ return [
* This is a time in milliseconds.
* If you use 0 or a negative number it will never be removed.
*/
'popup_timeout' => 8000,
/**
@@ -58,7 +51,6 @@ return [
* middleware groups that you want to use this package with should
* be included.
*/
'middleware_groups' => ['web'],
/**
@@ -69,7 +61,6 @@ return [
* This option allows for setting middleware for the route that shows a
* preview to the mail that was just sent.
*/
'middleware' => [
],

View File

@@ -5,7 +5,7 @@ return [
* Whether test environment is enabled
*/
'test' => env('PAYBOX_TEST', false),
/*
* 00103: Paybox Direct
* 00104: Paybox Direct Plus
@@ -38,7 +38,7 @@ return [
'hmac_key' => env('PAYBOX_HMAC_KEY', ''),
/*
* Paybox public key location - you can get it from
* Paybox public key location - you can get it from
* http://www1.paybox.com/wp-content/uploads/2014/03/pubkey.pem
*/
'public_key' => storage_path('paybox/pubkey.pem'),
@@ -51,7 +51,7 @@ return [
/*
* Default return fields when going back from Paybox. You can change here keys as you want,
* you can add also more values from ResponseField class
* you can add also more values from ResponseField class
*/
'return_fields' => [
'amount' => \Bnb\PayboxGateway\ResponseField::AMOUNT,
@@ -74,7 +74,7 @@ return [
'connection' => env('PAYBOX_NOTIFICATIONS_QUEUE_CONNECTION'),
'queue' => env('PAYBOX_NOTIFICATIONS_QUEUE_NAME'),
],
'retry_after' => (int)env('PAYBOX_NOTIFICATIONS_RETRY_AFTER', 60),
'retry_after' => (int) env('PAYBOX_NOTIFICATIONS_RETRY_AFTER', 60),
'url' => env('PAYBOX_NOTIFICATIONS_URL'),
'notify_to' => env('PAYBOX_NOTIFICATIONS_NOTIFY_TO'),
'notify_from' => [
@@ -84,9 +84,9 @@ return [
],
/*
* Those are routes names (not urls) where customer will be redirected after payment. If you
* Those are routes names (not urls) where customer will be redirected after payment. If you
* want to use custom route with params in url you should set them dynamically when creating
* authorization data. You shouldn't change keys here. Those urls will be later launched using
* authorization data. You shouldn't change keys here. Those urls will be later launched using
* GET HTTP request
*/
'customer_return_routes_names' => [

View File

@@ -33,4 +33,4 @@ return [
* the configuration for cart events
*/
'events' => null,
];
];

View File

@@ -10,15 +10,15 @@ return [
| This option contains settings for PDF generation.
|
| Enabled:
|
|
| Whether to load PDF / Image generation.
|
| Binary:
|
|
| The file path of the wkhtmltopdf / wkhtmltoimage executable.
|
| Timout:
|
|
| The amount of time to wait (in seconds) before PDF / Image generation is stopped.
| Setting this to false disables the timeout (unlimited processing time).
|
@@ -32,21 +32,21 @@ return [
| The environment variables to set while running the wkhtmltopdf process.
|
*/
'pdf' => [
'enabled' => true,
'binary' => env('WKHTML_PDF_BINARY', '/usr/local/bin/wkhtmltopdf'),
'binary' => env('WKHTML_PDF_BINARY', '/usr/local/bin/wkhtmltopdf'),
'timeout' => false,
'options' => [],
'env' => [],
'env' => [],
],
'image' => [
'enabled' => true,
'binary' => env('WKHTML_IMG_BINARY', '/usr/local/bin/wkhtmltoimage'),
'binary' => env('WKHTML_IMG_BINARY', '/usr/local/bin/wkhtmltoimage'),
'timeout' => false,
'options' => [],
'env' => [],
'env' => [],
],
];

View File

@@ -1,4 +1,6 @@
<?php declare(strict_types=1);
<?php
declare(strict_types=1);
return [