PHP code example of raoul2000 / yii2-sidr-widget
1. Go to this page and download the library: Download raoul2000/yii2-sidr-widget 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/ */
raoul2000 / yii2-sidr-widget example snippets
use raoul2000\widget\sidr\SidrAsset;
use raoul2000\widget\sidr\Sidr;
// The Sidr plugin comes with 2 built-in theme : 'dark' and 'light'
// In this example we will use the light theme
SidrAsset::$theme = SidrAsset::THEME_LIGHT;
php composer.phar