PHP code example of streamally / sdk

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

    

streamally / sdk example snippets



$response = (new \StreamAlly\StreamAlly('sampleApiToken'))->register([
    // Name is  
    // Show ID from StreamAlly Studio
    'show_id' => '3240438024',

    // Country code should be a notification by email and/or text message
    'notify' => 1,
]);