PHP code example of lulubin / yii2-widget-pace

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

    

lulubin / yii2-widget-pace example snippets

html
<div class="container">
    <?=lulubin\pace\Pace::widget(['color'=>'green','theme'=>'flash'])
html
<div class="container">
    <?=lulubin\pace\Pace::widget([
        'color'=>'blue','theme'=>'flash',
        'paceOptions'=>['ajax'=>false,'document'=>false]
    ])