PHPackages                             nodrew/embedly-bundle - 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. nodrew/embedly-bundle

AbandonedSymfony-bundle[API Development](/categories/api)

nodrew/embedly-bundle
=====================

Symfony2 Bundle for working with the Embedly service

9792[1 PRs](https://github.com/nodrew/NodrewEmbedlyBundle/pulls)PHP

Since Dec 20Pushed 10y ago1 watchersCompare

[ Source](https://github.com/nodrew/NodrewEmbedlyBundle)[ Packagist](https://packagist.org/packages/nodrew/embedly-bundle)[ RSS](/packages/nodrew-embedly-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Embedly Bundle for Symfony2 [![Travis-CI Build Status](https://camo.githubusercontent.com/be6674716b96c97147e809dd7baa7219ec42f8d9385d6f9c1fabc1bf776218ab/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6e6f647265772f4e6f64726577456d6265646c7942756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/#!/nodrew/NodrewEmbedlyBundle)
===================================================================================================================================================================================================================================================================================================================================================================

[](#embedly-bundle-for-symfony2-)

For use with the Embedly service at:

APIs Supported:

- [oEmbed](http://embed.ly/docs/endpoints/1/oembed): Complete
- [Preview](http://embed.ly/docs/endpoints/1/preview): Almost Complete - Model Response Structure May Change.
- [Objectify](http://embed.ly/docs/endpoints/2/objectify): Almost Complete - Model Response Structure May Change.

**Note: The Preview and Objectify endpoints require a paid account in order to use. An error will be returned and will result in a LogicException being thrown if you try to fetch from one of these services with the free account.**

Installation Instructions
-------------------------

[](#installation-instructions)

1. Download NodrewEmbedlyBundle
2. Configure the Autoloader
3. Enable the Bundle
4. Add your Embedly provider key

### Step 1: Download NodrewEmbedlyBundle

[](#step-1-download-nodrewembedlybundle)

Ultimately, the NodrewEmbedlyBundle files should be downloaded to the `vendor/bundles/Nodrew/Bundle/EmbedlyBundle` directory.

This can be done in several ways, depending on your preference. The first method is the standard Symfony2 method.

**Using the vendors script**

Add the following lines in your `deps` file:

```
[NodrewEmbedlyBundle]
    git=http://github.com/nodrew/NodrewEmbedlyBundle.git
    target=/bundles/Nodrew/Bundle/EmbedlyBundle

```

Now, run the vendors script to download the bundle:

```
$ php bin/vendors install
```

**Using submodules**

If you prefer instead to use git submodules, then run the following:

```
$ git submodule add http://github.com/nodrew/NodrewEmbedlyBundle.git vendor/bundles/Nodrew/Bundle/EmbedlyBundle
$ git submodule update --init
```

### Step 2: Configure the Autoloader

[](#step-2-configure-the-autoloader)

```
