PHP code example of linchpinstudios / yii2-backstretch
1. Go to this page and download the library: Download linchpinstudios/yii2-backstretch 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/ */
linchpinstudios / yii2-backstretch example snippets
use linchpinstudios/backstretch;
echo Backstrech::widget([
'duration' => 3000,
'fade' => 750,
'clickEvent' => false,
'images' => [
['image' => 'http://dl.dropbox.com/u/515046/www/outside.jpg'],
['image' => 'http://dl.dropbox.com/u/515046/www/garfield-interior.jpg'],
['image' => 'http://dl.dropbox.com/u/515046/www/cheers.jpg'],
],
]);
php composer.phar update