Apache log4php in Laravel
Package to enable log4php
Update your composer.json file to include this package as a dependency
composer require "i3ehrang/logger4php:dev-master"
Register the Logger4php service provider by adding it to the providers array.
'providers' => array(
Alias the Logger4php facade by adding it to the aliases array in the app/config/app.php file.
'aliases' => array(
'Logger4php' => I3ehrang\Logger4php\Facades\Logger4php::class
Copy the config file from vendor into your project and change it as your own
Logger4php::setParams(['user' => 'John', 'id' => '1'])
This package is wrapps Log4php Package for Laravel 5.