https://github.com/hacktoolkit/php-htk
A set of convenience utils for PHP.
https://github.com/hacktoolkit/php-htk
Last synced: 9 months ago
JSON representation
A set of convenience utils for PHP.
- Host: GitHub
- URL: https://github.com/hacktoolkit/php-htk
- Owner: hacktoolkit
- Created: 2021-10-10T04:31:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-17T02:10:28.000Z (over 4 years ago)
- Last Synced: 2025-06-10T15:57:47.517Z (10 months ago)
- Language: PHP
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# php-htk
## 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
- [Hacktoolkit](https://github.com/hacktoolkit)
- [Jonathan Tsai](https://github.com/jontsai)
## 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