teepluss/monosql
Composer 安装命令:
composer require teepluss/monosql
包简介
Laravel 4 MySQL driver for Monolog
README 文档
README
MySQL driver for Laravel Monolog.
Installation
To get the lastest version of Theme simply require it in your composer.json file.
"teepluss/monosql": "dev-master"
You'll then need to run composer install to download it and have the autoloader updated.
Once MonoSQL is installed you need to register the service provider with the application. Open up app/config/app.php and find the providers key.
'providers' => array(
'Teepluss\Monosql\MonosqlServiceProvider'
)
Publish config using artisan CLI.
php artisan config:publish teepluss/monosql
Migrate tables.
php artisan migrate --package=teepluss/monosql
Usage
File: /app/start/global.php
//Log::useDailyFiles(storage_path().'/logs/'.$logFile); Log::getMonolog()->pushHandler(new Teepluss\Monosql\MySQLHandler(DB::connection()));
That's it!
Support or Contact
If you have some problem, Contact teepluss@gmail.com
统计信息
- 总下载量: 3.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-11-28