1. Go to this page and download the library: Download vi-kon/laravel-utilities 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/ */
vi-kon / laravel-utilities example snippets
// to your providers array
'ViKon\Utilities\UtilitiesServiceProvider',
// to your middleware array
'ajax' => 'ViKon\Utilities\Middleware\IsAjax',
// Initialize progressbar
$this->initProgressbar();
// Reset progress and output a message
$this->startProgress('Seed agt_agent_types table');
// Set progressbar elements
$this->setProgressMax(12);
// ...
// Make step in progressbar
$this->progress();