Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bupy7/yii2-embed
Wrapper for PHP library https://github.com/oscarotero/Embed to get information from any web page.
https://github.com/bupy7/yii2-embed
Last synced: 2 days ago
JSON representation
Wrapper for PHP library https://github.com/oscarotero/Embed to get information from any web page.
- Host: GitHub
- URL: https://github.com/bupy7/yii2-embed
- Owner: bupy7
- Archived: true
- Created: 2015-04-06T14:52:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-28T12:32:15.000Z (about 9 years ago)
- Last Synced: 2024-09-18T02:19:55.855Z (14 days ago)
- Language: PHP
- Homepage:
- Size: 145 KB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](http://getcomposer.org/download/).
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 :
```php
= \bupy7\embed\Embed::widget([
'url' => 'http://www.youtube.com/watch?v=XflzWihgHRc',
]); ?>
```##License
yii2-embed is released under the BSD 3-Clause License.