Download the PHP package onecentlin/laravel-adminer without Composer
On this page you can find all versions of the php package onecentlin/laravel-adminer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-adminer
Laravel Adminer Database Manager
Light weight Adminer database management tool integrated into Laravel 5/6/7/8/9.
Various database support: MySQL, SQLite, PostgreSQL, Oracle, MS SQL, Firebird, SimpleDB, MongoDB, Elasticsearch, and etc.
v7.0 New Features
- Laravel 11.x Compatibility
- Adminer plugins support
v6.0 New Features
Make life easier with minimized package setup =)
- Enable laravel auto package discovery
- New config setting:
middleware
(default value:auth
) - Enable env variables to setup adminer config
ADMINER_ENABLED
ADMINER_AUTO_LOGIN
ADMINER_ROUTE_PREFIX
Installation
OR
Update composer.json
in require section:
Run:
Register package
Laravel auto package discovery feature added since package v6.0, you may skip this step.
Update config/app.php
Publish config and theme file
This action will copy two files and one folder:
config/adminer.php
- Adminer config filepublic/adminer.css
- Adminer theme fileresources/plugins
- Adminer plugins directory
config file: config/adminer.php
ATTENSION: Please only enable autologin with authenticated protection.
theme file: public/adminer.css
You may download adminer.css
from Adminer or create custom style, and place it into public
folder.
Setup Access Permission (Middleware)
Package v6.0 allow customized middleware config, you may skip this step or modify to fit your needs.
Laravel 11 middleware setup changes
Since Laravel v11 remove Kernel.php
, the middleware setup point to bootstrap/app.php
Add your middleware group in withMiddleware
section:
Laravel 5.2 and above
Setup for middleware group supported for Laravel 5.2 above (~v10)
Modify config/adminer.php
: 'middleware' => 'adminer',
Modify app/Http/Kernel.php
file with adminer
in $middlewareGroups
Enable Plugins
Drop your plugin files in resources/adminer/plugins
Modify config/adminer.php
: 'plugins' => []
by adding the name of the plugin class and any argument required
Access adminer
Open URL in web browser
Remarks
Due to function name conflicts of Laravel 5 and Adminer, adminer.php file
functions cookie()
, redirect()
and view()
are prefixed with adm_
prefix.
Inspired by miroc
All versions of laravel-adminer with dependencies
illuminate/contracts Version ~5.0|~6.0|~7.0|~8.0|~9.0|~10.0|^11.0
illuminate/routing Version ~5.0|~6.0|~7.0|~8.0|~9.0|~10.0|^11.0
illuminate/support Version ~5.0|~6.0|~7.0|~8.0|~9.0|~10.0|^11.0