reaimagine / laravel-cek
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/reaimagine/laravel-cek
Requires
- guzzlehttp/guzzle: ^6.3|^7.0
- illuminate/support: ^7.0 || ^8.0 || ^9.0
- monolog/monolog: ^1.23|^2.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.3
This package is auto-updated.
Last update: 2025-11-29 03:32:28 UTC
README
installation
You can install the package via composer:
composer require reaimagine/laravel-cek
If you are using Laravel 5.5 or later, the service provider will automatically be discovered.
On earlier versions, you need to do that manually. You must install the service provider:
// config/app.php 'providers' => [ ... Reaimagine\LaravelCek\LaravelCekServiceProvider::class ];
You can then publish the configuration file:
php artisan vendor:publish --provider "Reaimagine\LaravelCek\LaravelCekServiceProvider"
Setup
Prepare the logger configuration
You must add a new channel to your config/logging.php file:
// config/logging.php 'channels' => [ //... 'laravel-cek' => [ 'driver' => 'custom', 'via' => Reaimagine\LaravelCek\Logger::class, 'level' => 'debug', ], ];
Add the channel on top of other channels
Add the channel to the stack in the config/logging.php configuration:
// config/logging.php 'channels' => [ //... 'stack' => [ 'driver' => 'stack', 'channels' => ['single', 'laravel-cek'], ], ];
Then make sure the logging channel is set to stack in your .env file:
LOG_CHANNEL=stack