Skip to content
This repository was archived by the owner on Mar 24, 2021. It is now read-only.

abandroid/guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3042bf0 · Mar 21, 2021

History

73 Commits
Mar 21, 2021
May 5, 2019
Nov 23, 2018
Dec 17, 2019
Feb 5, 2020
Nov 18, 2019
Mar 21, 2021

Repository files navigation

Guide

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages