composer require enalog/enalog-php
Sending Events
use EnaLog\EnaLogClient;
$enalogClient = new EnaLogClient('api-token');
$enalogClient->pushEvent([
'project' => 'hello-world',
'name' => 'testing-php',
'description' => 'hello world event description',
'icon' => '👀',
'tags' => ['hello', 'world'],
'meta' => ['meta' => 'data'],
'channels' => [],
'user_id' => '1234'
]);
Requires PHP 8.2+
🧹 Keep a modern codebase with Pint:
composer lint
✅ Run refactors using Rector
composer refacto
⚗️ Run static analysis using PHPStan:
composer test:types
✅ Run unit tests using PEST
composer test:unit
🚀 Run the entire test suite:
composer test
Skeleton PHP was created by Nuno Maduro under the MIT license.