PHP code example of ws-cv-ua / left-time

1. Go to this page and download the library: Download ws-cv-ua/left-time 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/ */

    

ws-cv-ua / left-time example snippets


use \wscvua\lefttime\LeftTime'
 
echo LeftTime::widget([
    'selectorClass' => 'timer',
    'seconds' => 100500
]);