PHP code example of valzargaming / php-osc

1. Go to this page and download the library: Download valzargaming/php-osc 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/ */

    

valzargaming / php-osc example snippets

bash
php bot.php
bash
OSC_DEST=192.168.1.50 OSC_PORT=3890 OSC_INTERVAL=2 OSC_ADDRESS=/my/bot php bot.php
bash
php osc_listener.php