PHP code example of jamshidbekakhlidinov / yii2-lottie-player
1. Go to this page and download the library: Download jamshidbekakhlidinov/yii2-lottie-player 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/ */
jamshidbekakhlidinov / yii2-lottie-player example snippets
use ustadev\widgets\LottiePlayer;
echo LottiePlayer::widget([
'src' => 'https://assets7.lottiefiles.com/packages/lf20_tmsiddoc.json',
'options' => [
'style' => [
'width' => '400px',
],
]
]);