A library for generating XMLTV files.
Install the latest version with
$ composer require jaylinski/xmltv
<?php
use XmlTv\Tv;
use XmlTv\XmlTv;
require __DIR__.'/vendor/autoload.php';
$xml = XmlTv::generate(new Tv(), $validate = true);You can write your own source by implementing the XmlTv\Tv\Source interface.
Copyright © Jakob Linskeseder
XMLTV is licensed under the MIT License - see the LICENSE file for details.