PHP code example of hacktoolkit / php-htk

1. Go to this page and download the library: Download hacktoolkit/php-htk library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hacktoolkit / php-htk example snippets


composer 



\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');