Download the PHP package b-alidra/xmltv without Composer
On this page you can find all versions of the php package b-alidra/xmltv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package xmltv
XMLTV Generator
XMLTV Format PHP generator.
Requirements:
- PHP 5.6
- libxml
Installation:
The library is PSR-4 compliant and the simplest way to install it is via composer:
composer require b-alidra/xmltv
Usage
Create a new XMLTV document root node
Set the document root node ttributes (optional)
Add a channel
Add a programme
Check validation against the DTD
Get the XML
Will produce the following XML:
Implementation notes
Magic methods are used to set element attributes and to add an element child.
To set an id attribute (for example), use
To add a display-name child, use
Tests
To run the test suite, first install the dependencies, then run phpunit
:
For a test coverage report, look atbuild/report
License
MIT
All versions of xmltv with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package b-alidra/xmltv contains the following files
Loading the files please wait ....