By endroid
This library helps you building a TV guide from different sources.
Use Composer to install the library.
$ composer require endroid/guideRegister 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: HomelandAdd the following section to your routing to be able to visit the guide.
endroid_guide:
resource: "@EndroidGuideBundle/Resources/config/routes.yaml"
prefix: /guideVersion 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.
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.