PHPackages                             leung/laravel-adminer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. leung/laravel-adminer

ActiveLibrary[Admin Panels](/categories/admin)

leung/laravel-adminer
=====================

adminer for laravel5.\*

v2.1.1(8y ago)179.0k↓92.9%4MITPHP

Since Mar 26Pushed 7y ago2 watchersCompare

[ Source](https://github.com/leung0826/adminer-for-laravel)[ Packagist](https://packagist.org/packages/leung/laravel-adminer)[ RSS](/packages/leung-laravel-adminer/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

adminer-for-laravel 5.\*
========================

[](#adminer-for-laravel-5)

[Adminer](https://www.adminer.org) is a full-featured database management tool written in PHP. This package automates setup for adminer and routes your.domain.here/adminer to the the adminer.php script.

Installation
------------

[](#installation)

#### Composer

[](#composer)

```
composer require leung/laravel-adminer
```

OR

#### Add directly to your `composer.json`

[](#add-directly-to-your-composerjson)

```
"require": {
    "leung/laravel-adminer": "^2.0"
},
```

Providers
---------

[](#providers)

### Laravel &lt;5.4

[](#laravel-54)

open your `config/app.php` and add this line in providers section

```
Simple\Adminer\AdminerServiceProvider::class
```

###### OR prevent it being on production

[](#or-prevent-it-being-on-production)

open your `app/Providers/AppServiceProvider.php` and add this line in the `register()` function

```
if ($this->app->environment() !== 'production') {
    $this->app->register(\Simple\Adminer\AdminerServiceProvider::class);
}
```

### Laravel 5.5 providers

[](#laravel-55-providers)

auto included via automatic package discovery

```
   // no need to add anything!!!
```

Update adminer.php
------------------

[](#update-adminerphp)

#### Linux command line update

[](#linux-command-line-update)

```
php artisan adminer:update
```

You can configure your composer.json to do this after each commit:

```
"scripts": {
    "post-install-cmd": [
        "php artisan adminer:update"
    ],
    "post-update-cmd": [
        "php artisan adminer:update"
    ]
}
```

---

\[Optional\] Middleware
-----------------------

[](#optional-middleware)

#### Middleware is added in via the service provider

[](#middleware-is-added-in-via-the-service-provider)

to override this you may add a adminer route to your App routes.php

```
    Route::any('adminer', '\Simple\Adminer\Controllers\AdminerController@index')->middleware('adminer_custom_middleware'); // where you defined your middleware in app/Http/Kernel.php
```

#### Add middleware group example

[](#add-middleware-group-example)

to add a custom middleware group you will need to add it to middlewareGroups in your `app/Http/Kernel.php`

```
protected $middlewareGroups = [
    ...
    'adminer_custom_middleware' => [
        \App\Http\Middleware\EncryptCookies::class,
        \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
        \Illuminate\Session\Middleware\StartSession::class,

        // you may create customized middleware to fit your needs
        ...
    ],
];
```

#### Modify app/Http/Middleware/VerifyCsrfToken.php

[](#modify-apphttpmiddlewareverifycsrftokenphp)

also add adminer to $except array if you are using the example optional adminer group

```
protected $except = [
     'adminer'
 ];
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 58.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~62 days

Recently: every ~77 days

Total

8

Last Release

2954d ago

Major Versions

v1.1 → v2.02017-07-27

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/182261232?v=4)[leung0826](/maintainers/leung0826)[@Leung0826](https://github.com/Leung0826)

---

Top Contributors

[![lhq0826](https://avatars.githubusercontent.com/u/19591674?v=4)](https://github.com/lhq0826 "lhq0826 (17 commits)")[![Artistan](https://avatars.githubusercontent.com/u/801349?v=4)](https://github.com/Artistan "Artistan (11 commits)")[![mosinve](https://avatars.githubusercontent.com/u/20986566?v=4)](https://github.com/mosinve "mosinve (1 commits)")

### Embed Badge

![Health badge](/badges/leung-laravel-adminer/health.svg)

```
[![Health](https://phpackages.com/badges/leung-laravel-adminer/health.svg)](https://phpackages.com/packages/leung-laravel-adminer)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.7M222](/packages/backpack-crud)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[saithink/saiadmin

webman plugin

28211.5k1](/packages/saithink-saiadmin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
