tokenly / laravel-event-log by dweller

An event logger provider for Laravel.
15,815
3
4
Package Data
Maintainer Username: dweller
Maintainer Contact: devon@tokenly.com (Devon Weller)
Package Create Date: 2015-02-13
Package Last Update: 2020-01-23
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 03:06:00
Package Statistics
Total Downloads: 15,815
Monthly Downloads: 15
Daily Downloads: 3
Total Stars: 3
Total Watchers: 4
Total Forks: 0
Total Open Issues: 0

An event logger for Laravel. Used by various Tokenly services.

Provides api.logApiCalls middleware.

Installation

  • Install with composer require tokenly/laravel-event-log

Usage

use EventLog;

// log events
EventLog::debug('user.loggedIn', ['userId' => $user_id]);

// log exceptions
try {
    // do something here
} catch (Exception $exception) {
    EventLog::logError('action.failed', $e);
}