kohkimakimoto/laravel-adminer
Composer 安装命令:
composer require kohkimakimoto/laravel-adminer
包简介
It's a embedded adminer in laravel application.
README 文档
README
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.
Author
Kohki Makimoto kohki.makimoto@gmail.com
And adminer is created by Jakub Vrána.
统计信息
- 总下载量: 4.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-11
