vkovic/laravel-event-log

Easy way to log user created events

v0.1.0 2019-08-20 20:49 UTC

This package is auto-updated.

Last update: 2024-10-29 06:05:38 UTC


README

Build Downloads Stable License

Easy way to log user created events

Lorem ipsum

Compatibility

The package is compatible with Laravel versions 5.5, 5.6, 5.7 and 5.8.

Installation

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

Usage

Contributing

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