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.

v2.0.0(2mo ago)4459.8k↓38%7[1 issues](https://github.com/ricardofiorani/oembed/issues)[1 PRs](https://github.com/ricardofiorani/oembed/pulls)MITPHPPHP ^8.2 || ^8.3 || ^8.4 || ^8.5CI passing

Since Oct 17Pushed 2mo ago3 watchersCompare

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

READMEChangelog (4)Dependencies (19)Versions (18)Used By (0)

OEmbed
======

[](#oembed)

[![Build Status](https://github.com/ricardofiorani/oembed/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/ricardofiorani/oembed/actions/workflows/ci.yml/badge.svg?branch=main)[![Minimum PHP Version](https://camo.githubusercontent.com/5a3833766f800e05271bf1faae7e53d1283270e3091d95a03685cade510aface/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7269636172646f66696f72616e692f6f656d6265642e737667)](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 8.2, 8.3, 8.4, or 8.5
- A PSR-18 implementation
- A PSR-17 implementation of `RequestFactory` and `UriFactory`

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

[](#basic-usage)

```
