By endroid
This library helps you building a TV guide from different sources.
Use Composer to install the library.
$ composer require endroid/guide
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
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.
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.