PHPackages                             magnetolv1/oembed - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. magnetolv1/oembed

ActiveLibrary[API Development](/categories/api)

magnetolv1/oembed
=================

PHP library to retrieve page info using oembed

v1.0.2(5y ago)1832MITPHPPHP &gt;=5.6

Since Apr 3Pushed 5y ago1 watchersCompare

[ Source](https://github.com/MagnetoLv1/oembed)[ Packagist](https://packagist.org/packages/magnetolv1/oembed)[ RSS](/packages/magnetolv1-oembed/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

OEmbed for Laravel5
===================

[](#oembed-for-laravel5)

About
-----

[](#about)

`magnetolv1/oembed` 패키지는 [`mpratt/Embera`](https://github.com/mpratt/Embera)를 기반으로 **oEmbed**를 Laravel에서 사용할 수 있도록 도와줍니다.

oEmbed란?

> oEmbed는 다른 사이트의 URL을 내장된 표현을 가능하게 하는 Format 입니다. 유저가 Resource 에 해당하는 링크를 입력할 때, 웹사이트들이 Resource를 직접 파싱하지 않고, 내장된 컨텐츠(사진과 비디오같은)를 보여줄 수 있게 하는 간단한 API 입니다.

- 공식 사이트 :
- 관련 포스트 : [‛oEmbed를 소개합니다‛](https://meetup.toast.com/posts/81)
- Based on

Features
--------

[](#features)

- 등록된 Providers에 oEmbed값을 제공합니다.([Providers](https://github.com/mpratt/Embera/blob/master/doc/02-providers.md))
- 특정 Provider를 등록해서 사용할 수 있습니다.
- 캐시를 사용할 수 있습니다.

Installation
------------

[](#installation)

composer를 통해 의존성 패키지를 설치합니다.

```
composer require magnetolv1/oembed
```

Configuration
-------------

[](#configuration)

`MagnetoLv1/oembed`의 설정 값을 퍼블리싱 하기

```
php artisan vendor:publish --provider="MagnetoLv1\Oembed\OembedServiceProvider"
```

`config/oembed.php` 에서 기존 설정값 수정합니다.

```
