pavel-one / lara-log
Laravel package for remote logging service log.lara.su
v1.1.0
2020-08-07 15:14 UTC
Requires
- php: ^7.2
- ext-curl: *
- guzzlehttp/guzzle: ^6.0 || ^7.0
This package is auto-updated.
Last update: 2025-04-08 02:24:47 UTC
README
Develop description
Installation
You can install this package quickly and easily with Composer.
composer require pavel-one/lara-log
Laravel integration
LaraLog supports laravel integration. Best practice to use the library in Laravel is to add the ServiceProvider and Facade of the Lara Log Class.
Open your Laravel config file config/app.php
and add the following lines.
\LaraSU\Logger\Providers\LogServiceProvider::class
Add the facade of this package to the $aliases array.
'LaraLog' => \LaraSU\Logger\Facades\LaraLog::class,
And publish config file:
php artisan vendor:publish --tag=lara-log