bupy7/yii2-embed

This package is abandoned and no longer maintained. No replacement package was suggested.

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

Installs: 2 567

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 3

Forks: 2

Open Issues: 0

Type:yii2-extension

1.0.0 2015-08-28 12:31 UTC

This package is auto-updated.

Last update: 2020-09-11 05:28:52 UTC


README

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.