Files
lis/config/adminer.php
2025-01-27 08:16:55 +07:00

73 lines
1.9 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Enable Adminer
|--------------------------------------------------------------------------
|
*/
'enabled' => env('ADMINER_ENABLED', true),
/*
|--------------------------------------------------------------------------
| Auto Login
|--------------------------------------------------------------------------
|
| Enable autologin to database
|
| ATTENTION: Please only enable autologin with authenticated protection
|
*/
'autologin' => env('ADMINER_AUTO_LOGIN', false),
/*
|--------------------------------------------------------------------------
| Route Prefix
|--------------------------------------------------------------------------
|
| You may customize route prefix. (default: 'adminer')
|
*/
'route_prefix' => env('ADMINER_ROUTE_PREFIX', 'adminer'),
/*
|--------------------------------------------------------------------------
| Middleware
|--------------------------------------------------------------------------
|
| Middleware for authentication protection
|
| Default laravel authentication middleware: 'auth'
|
| Multiple middleware allowed using array:
| Example:
| 'middleware' => ['auth', 'adminer']
|
*/
'middleware' => 'auth',
/*
|--------------------------------------------------------------------------
| Plugins
|--------------------------------------------------------------------------
|
| Enable Adminer plugins loaded from /resources/adminer/plugins
|
| Example:
|
| With arguments...
| 'PluginClassName' => ['class', 'arguments', ...]
|
| or with a single argument
| 'PluginClassName' => 'argument'
|
| or without arguments
| 'PluginClassName'
|
*/
'plugins' => [
],
];