PHP code example of amitdeveloper2024 / key-exchanger-sdk

1. Go to this page and download the library: Download amitdeveloper2024/key-exchanger-sdk 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/ */

    

amitdeveloper2024 / key-exchanger-sdk example snippets


use KeyExchanger;

KeyExchanger::on('message', function ($message) {
    print_r($message);
});

KeyExchanger::start();
bash
php artisan vendor:publish --tag=key-exchanger-config