Looking to hire Laravel developers? Try LaraJobs

logger-laravel maintained by mobly

Description
Laravel service provider for the Mobly Logger package
Last update
2015/10/29 13:35 (dev-master)
License
Downloads
702
Tags

Comments
comments powered by Disqus

Mobly Logger Service Provider for Laravel 5

A simple Laravel 5 service provider for including the Mobly Logger package in your Laravel project.

Installation

The Mobly Logger Service Provider can be installed via Composer running php composer.phar require mobly/logger-laravel:2.* or adding manually in your project's composer.json:

{
    "require": {
        "mobly/logger": "2.*"
    }
}

Then run a composer update:

php composer.phar update

To use the Mobly Logger Service Provider you must register the provider when bootstrapping your Laravel application.

Find the providers key in you config/app.php and register the Mobly Logger Service Provider as below:

	'providers' => [
		// ...
		Mobly\LoggerLaravel\LoggerServiceProvider::class,
	]

Find the aliases key in you config/app.php and add the Mobly Logger facades:

	'providers' => [
		// ...
		'MoblyLogger' => Mobly\LoggerLaravel\Facades\Logger::class,
	]

Links