kohkimakimoto / LaravelAdminer by kohkimakimoto

It's a embedded adminer in laravel application.
3,961
10
2
Package Data
Maintainer Username: kohkimakimoto
Maintainer Contact: kohki.makimoto@gmail.com (Kohki Makimoto)
Package Create Date: 2014-08-11
Package Last Update: 2015-03-18
Language: PHP
License: MIT
Last Refreshed: 2024-05-03 03:03:29
Package Statistics
Total Downloads: 3,961
Monthly Downloads: 1
Daily Downloads: 0
Total Stars: 10
Total Watchers: 2
Total Forks: 3
Total Open Issues: 2

Laravel Adminer

It's a embedded adminer in Laravel4 application.

Installation

Run composer require command

$ composer require kohkimakimoto/laravel-adminer

OR

Add dependency in composer.json

"require": {
    "kohkimakimoto/laravel-adminer": "0.*"
}

and run composer upadte command.

$ composer update

Add AdminerServiceProvider to providers array in app/config/app.php

'providers' => array(
    ...
    'Kohkimakimoto\Adminer\AdminerServiceProvider',
),

Add a routing definition to AdminerController@index. You can use a route you like. The following is example.

Route::any('adminer', 'Kohkimakimoto\Adminer\Controllers\AdminerController@index');

Finally, Add a little code at the end of public/index.php. You must write the additional code after $app->run();.

$app->run();

use Kohkimakimoto\Adminer\Facade\Adminer;
if (Adminer::shouldRequestToAdminer()) {
    require Adminer::path();
}

OK. Access the uri you defined by your browser. you can see the adminer database management page.

adminer.png

Author

Kohki Makimoto kohki.makimoto@gmail.com

And adminer is created by Jakub Vrána.