Lorem ipsum
The package is compatible with Laravel versions 5.5
, 5.6
, 5.7
and 5.8
.
Install the package via composer:
composer require vkovic/laravel-event-log
Run migrations to create table which will be used to store event logs:
php artisan migrate
If you plan to modify this Laravel package you should run tests that comes with it.
Easiest way to accomplish this would be with Docker
, docker-compose
and phpunit
.
TIP: If you're planning to help writing tests, please consult this tutorial
First, we need to initialize Docker containers:
docker-compose up -d
After that, we can run tests and watch the output:
docker-compose exec app vendor/bin/phpunit