hacktoolkit / php-htk
A set of convenience utils for 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: 2025-04-17 09:22:56 UTC
README
Installation
composer require hacktoolkit/php-htk
How To Use
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');
See Also
- C# - https://github.com/hacktoolkit/csharp-htk
- PHP - https://github.com/hacktoolkit/php-htk
- Python (full) - https://github.com/hacktoolkit/python-htk
- Python (lite) - https://github.com/hacktoolkit/python-htk-lite
- Ruby - https://github.com/hacktoolkit/htk-rb
Authors and Maintainers
License
MIT
Releasing and Packaging
- Releasing is automatically done via GitHub Actions. See
.github/workflows/create-release.yml
- Package information can be found at: https://packagist.org/packages/hacktoolkit/php-htk