| Package Data | |
|---|---|
| Maintainer Username: | teepluss |
| Maintainer Contact: | admin@laravel.in.th (Teepluss) |
| Package Create Date: | 2013-11-28 |
| Package Last Update: | 2014-09-03 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-27 15:02:05 |
| Package Statistics | |
|---|---|
| Total Downloads: | 3,355 |
| Monthly Downloads: | 11 |
| Daily Downloads: | 0 |
| Total Stars: | 4 |
| Total Watchers: | 1 |
| Total Forks: | 4 |
| Total Open Issues: | 1 |
MySQL driver for Laravel Monolog.
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
File: /app/start/global.php
//Log::useDailyFiles(storage_path().'/logs/'.$logFile);
Log::getMonolog()->pushHandler(new Teepluss\Monosql\MySQLHandler(DB::connection()));
That's it!
If you have some problem, Contact teepluss@gmail.com