Adminer database manager for Laravel 5
Switch branches/tags
Nothing to show
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
public first commit Nov 18, 2015
resources Update adminer to 4.6.3 Jul 7, 2018
screenshots Update adminer to 4.2.5 with full database support Jun 3, 2016
src Update adminer to 4.6.3 Jul 7, 2018
.gitignore Update readme and localization detection Nov 20, 2016 Add Nov 18, 2015 Update adminer to 4.6.3 Jul 7, 2018
composer.json Update readme and localization detection Nov 20, 2016

Laravel Adminer Database Manager

Light weight Adminer database management tool integrated into Laravel 5.

Various database support: MySQL, SQLite, PostgreSQL, Oracle, MS SQL, Firebird, SimpleDB, MongoDB, Elasticsearch, and etc.


composer require onecentlin/laravel-adminer


Update composer.json in require section:

"require": {
    "onecentlin/laravel-adminer": "^4.6"


composer update


Update config/app.php

'providers' => [

Disable CSRF

Laravel 5.1

Modify app/Http/Middleware/VerifyCsrfToken.php, add adminer to $except array:

protected $except = [

Setup Access Permission

Setup route middleware in app/Http/Kernel.php

protected $routeMiddleware = [
    'adminer' => \App\Http\Middleware\Authenticate::class,

Example in Laravel 5.2 above

Setup for middleware group supported for Laravel 5.2 above

protected $middlewareGroups = [
    'adminer' => [

        // you may create customized middleware to fit your needs
        // example uses Laravel default authentication (default protection)

Adminer Theme (Optional)

Publish theme file (You may use the default theme without executing this action)

php artisan vendor:publish --provider="Onecentlin\Adminer\ServiceProvider"

You may download adminer.css from Adminer or create custom style, and place it into public folder.

Access adminer

Open URL in web browser




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