PHPackages                             badawy/embedly - 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. [Framework](/categories/framework)
4. /
5. badawy/embedly

ActiveLibrary[Framework](/categories/framework)

badawy/embedly
==============

A Laravel 5.\* package for the Embedly api

v2.0.0(8y ago)99041[1 issues](https://github.com/elbadawy/embedly-laravel/issues)MITPHPPHP &gt;=5.4.0

Since Jul 10Pushed 8y ago2 watchersCompare

[ Source](https://github.com/elbadawy/embedly-laravel)[ Packagist](https://packagist.org/packages/badawy/embedly)[ RSS](/packages/badawy-embedly/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

badawy/embedly
==============

[](#badawyembedly)

[![Latest Stable Version](https://camo.githubusercontent.com/a63fd4fbbe64c1b01742d196ec50696598aa92d1519544aa59c4d44d4f441e88/68747470733a2f2f706f7365722e707567782e6f72672f6261646177792f656d6265646c792f762f737461626c65)](https://packagist.org/packages/badawy/embedly) [![Total Downloads](https://camo.githubusercontent.com/ac5b3943a1ed7f54735f419dbc87f5a10921f83e6dd40091c604e601fa26c065/68747470733a2f2f706f7365722e707567782e6f72672f6261646177792f656d6265646c792f646f776e6c6f616473)](https://packagist.org/packages/badawy/embedly) [![Latest Unstable Version](https://camo.githubusercontent.com/12a9eb2dafbff51a3a8432d5acc7fa938fe866ef78f76b6da2eedebef4e7d53b/68747470733a2f2f706f7365722e707567782e6f72672f6261646177792f656d6265646c792f762f756e737461626c65)](https://packagist.org/packages/badawy/embedly) [![License](https://camo.githubusercontent.com/3b1b25c37630c0fc1f6bfe5e145e3cc02ebdc19a1f967ee22e00f67f0c36bd3b/68747470733a2f2f706f7365722e707567782e6f72672f6261646177792f656d6265646c792f6c6963656e7365)](https://packagist.org/packages/badawy/embedly)

Custom Embedly Package for the Laravel 5.\*

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

[](#installation)

1. Pull this package in through Composer. (Laravel 5.4)

```
    {
        "require": {
            "badawy/embedly": "2.*"
        }
    }
```

### if you are using Laravel 5.3 or earlier you should use v1.\*

[](#if-you-are-using-laravel-53-or-earlier-you-should-use-v1)

```
    {
        "require": {
            "badawy/embedly": "1.*"
        }
    }
```

2. Add the service provider to the providers array in your `config/app.php` file:

```
        Badawy\Embedly\EmbedlyServiceProvider::class,
```

3. Add the facade to your `config/app.php` file:

```
        'Embedly' => Badawy\Embedly\Facades\Embedly::class,
```

4. Copy the package config to your local config with the publish command:

```
        php artisan vendor:publish --provider="Badawy\Embedly\EmbedlyServiceProvider"
```

5. Add your api key in your `.env` file:

```
        EMBEDLY_API_KEY=xxxxxxxxxxxxxxxxxx

```

Usage
-----

[](#usage)

You can extract or embed single URL or multiple URLs by pass them into an Array instead of String,

You can also pass an Array of your query arguments as second argument in both Extract and Embed (see examples)

\[See Embedly documentation for more information about results, errors and query arguments\] ()

Examples
--------

[](#examples)

1. Embedly Extract

```
     $q = Embedly::extract('http://techcrunch.com/2013/03/26/embedly-now-goes-beyond-embedding-with-new-products-extract-display-for-making-sense-of-links-resizing-images/', [
           'maxwidth' => '500'
       ]);
```

```
     $q = Embedly::extract([
            'http://techcrunch.com/2013/03/26/embedly-now-goes-beyond-embedding-with-new-products-extract-display-for-making-sense-of-links-resizing-images/',
            'http://deadspin.com/5690535/the-bottom-100-the-worst-players-in-nfl-history-part-1',
            'http://blog.embed.ly/31814817'],[
                'maxwidth' => '500'
       ]);
```

2. Embedly Embed

```
     $q = Embedly::oembed('http://vimeo.com/18150336',[
           'maxwidth' => '500'
       ]);
```

```
     $q = Embedly::oembed([
            'https://www.youtube.com/watch?v=jofNR_WkoCE',
            'http://soundcloud.com/whichlight/how-to-pronounce-my-name',
            'http://vimeo.com/18150336'],[
                'maxwidth' => '500'
       ]);
```

Then you can access results :

```
    if($q->error){
       echo $q->error_message; //Error
    } else {
       echo $q->title; //Get result
    }
```

ToDo
----

[](#todo)

- Add 'Display' APIs

License
-------

[](#license)

This template is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

Contact
-------

[](#contact)

Ahmad Elbadawy

- Email:

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 86.1% 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 ~139 days

Recently: every ~167 days

Total

6

Last Release

3268d ago

Major Versions

v1.0.4 → v2.0.02017-06-07

### Community

Maintainers

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

---

Top Contributors

[![badawys](https://avatars.githubusercontent.com/u/515770?v=4)](https://github.com/badawys "badawys (31 commits)")[![vmitchell85](https://avatars.githubusercontent.com/u/1248035?v=4)](https://github.com/vmitchell85 "vmitchell85 (4 commits)")[![nicolas-t](https://avatars.githubusercontent.com/u/1765930?v=4)](https://github.com/nicolas-t "nicolas-t (1 commits)")

---

Tags

phpapiframeworklaravelpackageclassembedlyelbadawybadawy

### Embed Badge

![Health badge](/badges/badawy-embedly/health.svg)

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

###  Alternatives

[php-curl-class/php-curl-class

PHP Curl Class makes it easy to send HTTP requests and integrate with web APIs.

3.3k9.5M353](/packages/php-curl-class-php-curl-class)[nunomaduro/laravel-desktop-notifier

Send notifications to your desktop from your Laravel commands. An JoliNotif wrapper for Laravel 5.

4781.7M8](/packages/nunomaduro-laravel-desktop-notifier)[lanin/laravel-api-debugger

Easily debug your JSON API.

2311.8M](/packages/lanin-laravel-api-debugger)[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

98548.9k4](/packages/defstudio-pest-plugin-laravel-expectations)[lanin/laravel-api-exceptions

All in one solution for exception for JSON REST APIs on Laravel and Lumen.

40102.4k](/packages/lanin-laravel-api-exceptions)[richarddobron/laravel-fbt

A PHP Internationalization Framework for Laravel Application.

125.7k](/packages/richarddobron-laravel-fbt)

PHPackages © 2026

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