PHP code example of ham3r / yii2-spinkit

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

    

ham3r / yii2-spinkit example snippets


use ham3r\spinkit\SpinKitAsset;

SpinKitAsset::register($this);


use yii\web\AssetBundle;

class SomeAsset extends AssetBundle {

    /** dependencies */
    public $depends = [
        'ham3r\spinkit\SpinKitAsset'
    ];
    
    ...
}