- You can install the package via composer:
composer require "aifst/laravel-logger:^1.0.0"
- Optional: The service provider will automatically get registered. Or you may manually add the service provider in your config/app.php file:
'providers' => [
// ...
Aifst\Logger\LoggerServiceProvider::class,
];
- You should publish the migration and the config/logger.php config file with:
php artisan vendor:publish --provider="Aifst\Logger\LoggerServiceProvider"