PHP code example of shahimian / yii2-live

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

    

shahimian / yii2-live example snippets


<?= \shahimian\live\Live::widget([
    'username' => $username,
    'source' => $source,
]); 

php composer.phar