PHP code example of boogiefromzk / agora-token

1. Go to this page and download the library: Download boogiefromzk/agora-token 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/ */

    

boogiefromzk / agora-token example snippets


rm -rf ./src
git clone [email protected]:AgoraIO/Tools.git /tmp/agora_tools
cp -r /tmp/agora_tools/DynamicKey/AgoraDynamicKey/php/src .
rm -rf /tmp/agora_tools
cd ./src
sed -i 's//\n\nnamespace BoogieFromZk\\AgoraToken;/' *