mobly / logger-laravel
Laravel service provider for the Mobly Logger package
Installs: 702
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 20
Forks: 0
Open Issues: 0
pkg:composer/mobly/logger-laravel
Requires
- php: >=5.4.0
- illuminate/support: ~5.0
- mobly/logger: ~1.0
This package is not auto-updated.
Last update: 2025-10-25 23:53:28 UTC
README
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, ]