PHPackages                             simexis/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. simexis/oembed

ActiveLibrary[API Development](/categories/api)

simexis/oembed
==============

Laravel 5 - Retrieve page info using oembed, opengraph, etc.

1.5.2(8y ago)36.2k5[1 issues](https://github.com/jooorooo/oembed/issues)1BSD-3-ClausePHPPHP &gt;=5.6

Since Sep 10Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (13)Used By (1)

Oembed
======

[](#oembed)

Laravel 5 - Retrieve page info using oembed, opengraph, etc.

### Server Requirements

[](#server-requirements)

```
Require PHP 5.5+ or higher.

```

### Installation

[](#installation)

Open your composer.json file, and add the new required package.

```
"simexis/oembed": "1.0.*"

```

Next, open a terminal and run.

```
composer update

```

After the composer updated. Add new service provider in app/config/app.php.

```
    'Simexis\Oembed\OembedServiceProvider'
```

Next, Add new alias.

```
    'Oembed'           => 'Simexis\Oembed\OembedFacade',
```

Done.

### Usage

[](#usage)

Basic Usage

```
$info = Oembed::get('https://www.youtube.com/watch?v=PP1xn5wHtxE');

//Get content info

$info->title; //The page title
$info->description; //The page description
$info->url; //The canonical url
$info->type; //The page type (link, video, image, rich)

$info->images; //List of all images found in the page
$info->image; //The image choosen as main image
$info->imageWidth; //The with of the main image
$info->imageHeight; //The height  of the main image

$info->code; //The code to embed the image, video, etc
$info->width; //The with of the embed code
$info->height; //The height of the embed code
$info->aspectRatio; //The aspect ratio (width/height)

$info->authorName; //The (video/article/image/whatever) author
$info->authorUrl; //The author url

$info->providerName; //The provider name of the page (youtube, twitter, instagram, etc)
$info->providerUrl; //The provider url
$info->providerIcons; //All provider icons found in the page
$info->providerIcon; //The icon choosen as main icon
```

Caching the results.

```
$info = Oembed::cache($url, $options);
```

### License

[](#license)

This package is open-sourced software licensed under [The BSD 3-Clause License](http://opensource.org/licenses/BSD-3-Clause)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 88.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~107 days

Recently: every ~166 days

Total

12

Last Release

3131d ago

PHP version history (3 changes)1.0.0PHP &gt;=5.4.0

1.2PHP &gt;=5.5.9

1.5.1PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/b94e45e0fc8056daeec3bc285ca4befdbaf5064a57f29bd9d93a9459afab9a28?d=identicon)[jooorooo](/maintainers/jooorooo)

---

Top Contributors

[![gravitano](https://avatars.githubusercontent.com/u/5087538?v=4)](https://github.com/gravitano "gravitano (15 commits)")[![jooorooo](https://avatars.githubusercontent.com/u/5603141?v=4)](https://github.com/jooorooo "jooorooo (2 commits)")

---

Tags

laraveloembedlaravel-oembedsimexis

### Embed Badge

![Health badge](/badges/simexis-oembed/health.svg)

```
[![Health](https://phpackages.com/badges/simexis-oembed/health.svg)](https://phpackages.com/packages/simexis-oembed)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.4M96](/packages/mongodb-laravel-mongodb)[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k9.0M69](/packages/spatie-laravel-responsecache)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M6](/packages/propaganistas-laravel-disposable-email)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

44855.7k](/packages/harris21-laravel-fuse)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
