Log laravel events into database.