endroid/guide

This package is abandoned and no longer maintained. No replacement package was suggested.

Endroid Guide

Fund package maintenance!
endroid

2.0.1 2018-03-05 21:50 UTC

This package is auto-updated.

Last update: 2021-03-24 10:12:03 UTC


README

By endroid

Latest Stable Version Build Status Total Downloads Monthly Downloads License

This library helps you building a TV guide from different sources.

Installation

Use Composer to install the library.

$ composer require endroid/guide

Symfony integration

Register the Symfony bundle in the kernel.

// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // ...
        new Endroid\Guide\Bundle\GuideBundle\EndroidGuideBundle(),
    ];
}

The bundle makes use of different loaders to build a guide. Each loader having its own configuration. This is an example of such a configuration.

endroid_guide:
    shows:
        -
            type: epguides
            label: Fargo
        -
            type: epguides
            label: Homeland

Add the following section to your routing to be able to visit the guide.

endroid_guide:
    resource: "@EndroidGuideBundle/Resources/config/routes.yaml"
    prefix: /guide

Versioning

Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibility breaking changes will be kept to a minimum but be aware that these can occur. Lock your dependencies for production and test your code when upgrading.

License

This bundle is under the MIT license. For the full copyright and license information please view the LICENSE file that was distributed with this source code.