Download the PHP package lichv/monolog-mysql without Composer
On this page you can find all versions of the php package lichv/monolog-mysql. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package monolog-mysql
Laravel Monolog MySQL Handler.
MySQL driver for Laravel Monolog.
Installation
To get the lastest version of Theme simply require it in your composer.json
file.
"lichv/monolog-mysql": "dev-master"
You'll then need to run composer install
to download it and have the autoloader updated.
Open up config/app.php
and find the providers
key.
'providers' => array(
// ...
'Logger\Laravel\Provider\MonologMysqlHandlerServiceProvider'
);
Publish config using artisan CLI.
php artisan config:publish lichv/monolog-mysql
Migrate tables.
php artisan migrate
Usage
Log::getMonolog()->pushHandler(new Logger\Monolog\Handler\MysqlHandler());
Or in bootstrap/app.php
:
$app->configureMonologUsing(function($monolog) use($app) {
$monolog->pushHandler(new Logger\Monolog\Handler\MysqlHandler());
});
Credits
Based on:
- [Pedro Fornaza] (https://github.com/lichv/monolog-mysql)
All versions of monolog-mysql with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.9
The package lichv/monolog-mysql contains the following files
Loading the files please wait ....