PHP code example of wilzokch / laravel-progress-bar-lite

1. Go to this page and download the library: Download wilzokch/laravel-progress-bar-lite 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/ */

    

wilzokch / laravel-progress-bar-lite example snippets


// put in your command class or refer to sample/TestCommand.php
use LiteProgressBarTrait;

// create progress bar using following function instead of $this->output->createProgressBar(count($data));
$bar = $this->createProgressBar(count($data));