hacktoolkit / php-htk
PHP的便利工具集。
0.1.3
2021-10-11 10:40 UTC
Requires
- php: >=5.3.0
- rmccue/requests: ^1.8
This package is auto-updated.
Last update: 2024-09-17 08:08:03 UTC
README
安装
composer require hacktoolkit/php-htk
如何使用
require 'vendor/autoload.php';
\Htk\Htk::init([
'SLACK_WEBHOOK_URL' => 'https://hooks.slack.com/services/your/slack/incoming-webhook-url'
]);
\Htk\Htk::slack_debug('hello world');
// To send to a different channel
\Htk\Htk::slack_debug('hello world', '#test');
另请参阅
- C# - https://github.com/hacktoolkit/csharp-htk
- PHP - https://github.com/hacktoolkit/php-htk
- Python (完整) - https://github.com/hacktoolkit/python-htk
- Python (轻量) - https://github.com/hacktoolkit/python-htk-lite
- Ruby - https://github.com/hacktoolkit/htk-rb
作者和维护者
许可证
MIT
发布和打包
- 发布自动通过GitHub Actions完成。请参阅
.github/workflows/create-release.yml
- 包信息可在以下位置找到: https://packagist.org.cn/packages/hacktoolkit/php-htk