PHPackages                             ricardofiorani/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. [Image &amp; Media](/categories/media)
4. /
5. ricardofiorani/oembed

ActiveLibrary[Image &amp; Media](/categories/media)

ricardofiorani/oembed
=====================

OEmbed is a PHP library to assist you retrieving data from providers that supports OEmbed.

v1.2.0(3y ago)4255.2k↓27%7[5 issues](https://github.com/ricardofiorani/oembed/issues)[4 PRs](https://github.com/ricardofiorani/oembed/pulls)MITPHPPHP ^7.4 || ^8.0 || ^8.1

Since Oct 17Pushed 3y ago3 watchersCompare

[ Source](https://github.com/ricardofiorani/oembed)[ Packagist](https://packagist.org/packages/ricardofiorani/oembed)[ RSS](/packages/ricardofiorani-oembed/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (9)Versions (10)Used By (0)

OEmbed
======

[](#oembed)

[![Build Status](https://github.com/ricardofiorani/oembed/actions/workflows/ci.yml/badge.svg)](https://github.com/ricardofiorani/oembed/actions/workflows/ci.yml/badge.svg)[![Minimum PHP Version](https://camo.githubusercontent.com/19fbe08ea8f95694b07783c176c57d5241ca7dc456452b85431e4effba565d17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7269636172646f66696f72616e692f7068702d6c65676f66792e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/3380b76449dcac708c070edbaefc6156ab2fc5078e9e7d6f4203c9519ebe8925/68747470733a2f2f706f7365722e707567782e6f72672f7269636172646f66696f72616e692f6f656d6265642f6c6963656e73652e706e67)](https://packagist.org/packages/ricardofiorani/oembed)[![Total Downloads](https://camo.githubusercontent.com/eeb4c0ae64ea58f7b90ac148e9867ed75e0a8923190b52732f62f428286fc2a5/68747470733a2f2f706f7365722e707567782e6f72672f7269636172646f66696f72616e692f6f656d6265642f642f746f74616c2e706e67)](https://packagist.org/packages/ricardofiorani/oembed)[![Coding Standards](https://camo.githubusercontent.com/bbde1fa96ef88cc4935dac2851741d5045ad4e348558501bc1031ca96926c7ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63732d5053522d2d342d79656c6c6f772e737667)](https://github.com/php-fig-rectified/fig-rectified-standards)

OEmbed is a PHP library to assist you retrieving data from providers that supports OEmbed.
It was built to be a successor of `ricardofiorani/php-video-url-parser`.

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

[](#installation)

Install the latest version with

```
$ composer require ricardofiorani/oembed
```

Requirements
------------

[](#requirements)

- PHP 7.4
- A PSR-18 implementation
- A PSR-17 implementation of `RequestFactory` and `UriFactory`

Basic Usage
-----------

[](#basic-usage)

```
