endroid / guide
Endroid Guide
Fund package maintenance!
endroid
Installs: 2 165
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- ext-gd: *
- symfony/cache: ^3.0|^4.0
- symfony/css-selector: ^3.0|^4.0
- symfony/dom-crawler: ^3.0|^4.0
- symfony/options-resolver: ^3.0|^4.0
Requires (Dev)
- phpunit/phpunit: ^5.7|^6.0
README
By endroid
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.