2017 © Pedro Peláez
 

symfony-bundle thetvdb-bundle

Symfony2 bundle for the TheTVDB.com API library

image

tobiassjosten/thetvdb-bundle

Symfony2 bundle for the TheTVDB.com API library

  • Sunday, February 28, 2016
  • by tobiassjosten
  • Repository
  • 2 Watchers
  • 5 Stars
  • 408 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

TobiassjostenTheTVDBBundle

This bundle wraps the TheTVDB API client in a Symfony2 service, making it easy to with integrate the excellent TheTVDB.com database in your Symfony application., (*1)

TheTVDB.com is an open database with a lot of TV related data and graphics, added by its members. Like a niche Wikipedia with an API! You need to register for an API key before you can use the service., (*2)

TobiassjostenTheTVDBBundle was initially developed for use in Smartburk.se., (*3)

Build Status, (*4)

Usage

1. Download the bundle using Composer

Add TobiassjostenTheTVDBBundle in your composer.json:, (*5)

{
    "require": {
        "tobiassjosten/thetvdb-bundle": "1.0.*"
    }
}

Now tell Composer to download the bundle by running the command:, (*6)

$ php composer.phar update tobiassjosten/thetvdb-bundle

Composer will install the bundle to your project's vendor/tobiassjosten directory., (*7)

2. Enable the bundle

Enable the bundle in the kernel (app/AppKernel.php):, (*8)

public function registerBundles()
{
    $bundles = array(
        // ...
        new Tobiassjosten\TheTVDBBundle\TobiassjostenTheTVDBBundle(),
    );
}

3. Configure the API client

Add your API key to your application's parameters (app/config/parameters.yml):, (*9)

parameters:
    # ...
    thetvdb_api_key: ABCDEF123456

4. Fetch the service

Use the dependency injection container to retrieve the service:, (*10)

$api = $container->get('thetvdb');

See the library for how to use the actual API., (*11)

License

This bundle is under the MIT license. See the complete license in the bundle:, (*12)

Resources/meta/LICENSE

The Versions

27/04 2013

dev-detailscommand

dev-detailscommand https://github.com/tobiassjosten/TobiassjostenTheTVDBBundle

Symfony2 bundle for the TheTVDB.com API library

  Sources   Download

MIT

The Requires

 

The Development Requires

thetvdb.com

23/09 2012

1.0.0

1.0.0.0 https://github.com/tobiassjosten/TobiassjostenTheTVDBBundle

Symfony2 bundle for the TheTVDB.com API library

  Sources   Download

MIT

The Requires

 

thetvdb.com