enalog/enalog-php
最新稳定版本:v0.3.0
Composer 安装命令:
composer require enalog/enalog-php
包简介
EnaLog PHP SDK
README 文档
README
Installation
composer require enalog/enalog-php
Usage
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.
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-17