bupy7/yii2-embed Wrapper for PHP library https://github.com/oscarotero/Embed to get information from any web page.

extensionwidgetinstagramembedvideovkontakteyoutubevimeofaccebookrutubeoembedopengraphtwitter-cards

yii2-embed

Wrapper for PHP library https://github.com/oscarotero/Embed to get information from any web page.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist bupy7/yii2-embed "@dev"

or add

"bupy7/yii2-embed": "@dev"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \bupy7\embed\Embed::widget([
    'url' => 'http://www.youtube.com/watch?v=XflzWihgHRc',
]); ?>

License

yii2-embed is released under the BSD 3-Clause License.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.0.0 is the latest of one release



BSD-3-Clause license
Stats
5 github stars & 3 github forks
2 downloads in the last day
70 downloads in the last 30 days
2083 total downloads