PHPackages                             magnusvin/adminer-laravel-bridge - 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. magnusvin/adminer-laravel-bridge

ActiveLibrary

magnusvin/adminer-laravel-bridge
================================

Adminer Bridge for Laravel

5.5.1.0(today)013↑2900%MITPHPPHP ^8.3CI passing

Since Jul 23Pushed today1 watchersCompare

[ Source](https://github.com/magnusvin/adminer-laravel-bridge)[ Packagist](https://packagist.org/packages/magnusvin/adminer-laravel-bridge)[ Docs](https://github.com/magnusvin/adminer-laravel-bridge)[ GitHub Sponsors](https://github.com/magnusvin)[ RSS](/packages/magnusvin-adminer-laravel-bridge/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (11)Versions (2)Used By (0)

Adminer Bridge
==============

[](#adminer-bridge)

 [![Packagist](https://camo.githubusercontent.com/3324876a813fb1efc9b8d74f41507753cf673c1558c38dad38ee9389a38ba7bc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61676e757376696e2f61646d696e65722d6c61726176656c2d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/magnusvin/adminer-laravel-bridge) [![PHP from Packagist](https://camo.githubusercontent.com/eec94290ed96a7118b3dd4d730c0414c2ba6589798645cb299556333deceadc6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d61676e757376696e2f61646d696e65722d6c61726176656c2d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/magnusvin/adminer-laravel-bridge) [![Laravel versions](https://camo.githubusercontent.com/ed8f94ce7dc22055f767fb02f6e68f5729cdcc4d0c189f903e61a97481dae2ec/68747470733a2f2f62616467652e6c61726176656c2e636c6f75642f62616467652f6d61676e757376696e2f61646d696e65722d6c61726176656c2d6272696467653f7374796c653d666c6174)](https://packagist.org/packages/magnusvin/adminer-laravel-bridge) [![GitHub Workflow Status (main)](https://camo.githubusercontent.com/d05fccd2fa0436fea079ac9f46e0b3fe1cb5ac2cf3c18d7eb4345c1206ea95c6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d61676e757376696e2f61646d696e65722d6c61726176656c2d6272696467652f74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d5465737473267374796c653d666c61742d737175617265)](https://github.com/magnusvin/adminer-laravel-bridge/actions) [![Total Downloads](https://camo.githubusercontent.com/3a9a14ae1be6b78352c712723c4efeef30706ef324f14923d981284c7d2b0107/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61676e757376696e2f61646d696e65722d6c61726176656c2d6272696467652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/magnusvin/adminer-laravel-bridge)

A Laravel bridge for [Adminer](https://www.adminer.org/), the single-file database management tool by Jakub Vrána. This package wires Adminer into a Laravel app as a first-class route: sessions, cookies, and CSRF/auth all flow through Laravel's own stack instead of Adminer running as a bare standalone script, while still letting Adminer's own code run untouched.

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 12.x or 13.x
- [`vrana/adminer`](https://packagist.org/packages/vrana/adminer) ^5.5 (installed automatically as a dependency)

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

[](#installation)

You can install the package via Composer:

```
composer require magnusvin/adminer-laravel-bridge
```

You can publish the config file with:

```
php artisan vendor:publish --tag="adminer-bridge-config"
```

(`--tag="adminer-bridge"` publishes the same file — both tags are registered for convenience.) There are no views or public assets to publish: Adminer renders its own markup, and its static assets, `jush` syntax-highlighting files, and design themes are served dynamically through routes rather than copied into your app.

This is the published `config/adminer-bridge.php`:

```
return [

    'route' => [
        'prefix' => 'adminer',
        'domain' => null,
        'middleware' => [
            EncryptCookies::class,
            AddQueuedCookiesToResponse::class,
            StartSession::class,
        ],
    ],

    // e.g. 'web'; gates access to the Adminer route via Laravel's Authenticate middleware.
    'guard' => null,

    // Throttles the Adminer route using Laravel's own rate limiter. Disabled by default.
    'rate_limit' => [
        'enabled' => false,
        'max_attempts' => 60,
        'decay_minutes' => 1,
    ],

    // null defers to the app's own config('session.driver'); or force a specific
    // Laravel session driver (file, database, redis, ...) just for Adminer.
    'session_driver' => 'file',

    // Disables Adminer's cookie-based "remember me" persistence when false.
    'permanent_login' => true,

    // Shows a fixed, always-visible banner on every Adminer page - handy for
    // flagging a production database. Auto-detects from 'environments' below.
    'production_warning' => [
        'enabled' => null,
        'environments' => ['production'],
        'text' => 'You are viewing a production database',
        'color' => '#b91c1c',
        'position' => 'left', // 'top', 'bottom', or 'left'
    ],

    // Disables Adminer's outbound "new version available" check when false.
    'version_check' => false,

    // Disables jush (SQL/JS syntax highlighting) when false.
    'jush' => true,

    // null allows every bundled language. Restrict (and enforce server-side)
    // the language switcher to a specific set of codes, e.g. ['en'].
    'languages' => null,

    // null allows every bundled driver. Restrict (and enforce server-side)
    // the login driver dropdown, e.g. ['server', 'sqlite'].
    'drivers' => null,

    // null offers only the built-in light/dark styling. Restrict the design
    // switcher to a set of bundled theme names (folders under vrana/adminer's
    // designs/ directory, e.g. ['nette', 'dracula']).
    'themes' => null,
];
```

By default the Adminer UI is available at `/adminer`. Since Adminer handles its own login and there is no built-in gate, set `guard` (and/or wrap the route behind your own middleware via `route.middleware`) before exposing this in any environment reachable outside your team.

Versioning
----------

[](#versioning)

This package tracks [Adminer](https://www.adminer.org/)'s own release cycle instead of an independent semver line. A version has four segments: the first three mirror the `vrana/adminer` release the package was built against, and the fourth is this package's own patch counter for fixes made without an upstream Adminer bump.

- A bridge-only fix (no Adminer version change) bumps the last segment, e.g. `5.5.1.0` → `5.5.1.1`.
- A new Adminer release resets the last segment to `0` and adopts Adminer's new version, e.g. `5.5.1.4` → `5.6.0.0`.

Composer accepts this four-segment format natively, but keep in mind it does **not** carry the usual semver guarantee that the first number only changes on a breaking change *to this package's own API* — it changes whenever upstream Adminer does. Pin a full version (or a `~5.5.1` style constraint) rather than a broad `^5` if you want to control upgrades explicitly, and check the [CHANGELOG](CHANGELOG.md) before bumping across an Adminer version boundary.

Roadmap
-------

[](#roadmap)

- Dependabot is already configured for GitHub Actions and Composer dependencies (weekly); once tagged releases exist, it can also be pointed at `vrana/adminer` version bumps to prompt a matching bridge release.
- Future releases are intended to follow shortly after each upstream Adminer tag, keeping the first three version segments in sync with `vrana/adminer`.
- Contributions and issue reports that help track Adminer's release cadence are welcome — see [Contributing](#contributing) below.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Thank you for considering contributing to Adminer Bridge! Please review our [contributing guide](.github/CONTRIBUTING.md) to get started.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](.github/SECURITY.md) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [magnusvin](https://github.com/magnusvin)
- [Jakub Vrána](https://github.com/vrana) and [Adminer](https://github.com/vrana/adminer)'s contributors — this package is a Laravel bridge around their database tool and its bundled `jush` syntax highlighter, not a reimplementation of it
- [All Contributors](../../contributors)

License
-------

[](#license)

Adminer Bridge is open-sourced software licensed under the [MIT license](LICENSE.md). Adminer itself (`vrana/adminer`) and `vrana/jush` are separate upstream projects with their own licensing — see their respective repositories for details.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance100

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

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

---

Top Contributors

[![magnusvin](https://avatars.githubusercontent.com/u/16666918?v=4)](https://github.com/magnusvin "magnusvin (5 commits)")

---

Tags

laraveladminermagnusvinadminer-bridgeadminer-laravel-bridge

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)

PHPackages © 2026

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