PHP code example of bupy7 / yii2-flexslider
1. Go to this page and download the library: Download bupy7/yii2-flexslider 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/ */
bupy7 / yii2-flexslider example snippets
...
use bupy7\flexslider\FlexSlider;
echo FlexSlider::widget([
'items' => [
'<img src="http://placehold.it/900x400&text=323">',
[
'content' => '<img src="http://placehold.it/900x400&text=001">',
'options' => [
'class' => 'my-class',
],
],
],
]);
...
$ php composer.phar