PHP code example of edgardmessias / yii2-nprogress

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

    

edgardmessias / yii2-nprogress example snippets


 \edgardmessias\assets\nprogress\NProgressAsset::register($this); 

'components' => [
    'assetManager' => [
        'bundles' => [
            'edgardmessias\assets\nprogress\NProgressAsset' => [
                'configuration' => [
                    'minimum' => 0.08,
                    'showSpinner' => true,
                ],
                'page_loading' => false,
                'pjax_events' => true,
                'jquery_ajax_events' => false,
            ],
        ],
    ],
],

php composer.phar