PHPackages                             b-alidra/epg-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. b-alidra/epg-generator

ActiveProject[Utility &amp; Helpers](/categories/utility)

b-alidra/epg-generator
======================

French channels EGP generator

1.0.1(8y ago)0381MITPHP

Since Oct 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/b-alidra/epg-generator)[ Packagist](https://packagist.org/packages/b-alidra/epg-generator)[ RSS](/packages/b-alidra-epg-generator/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/ab9490d4ea6364942e7b3eac0936112155e914e7594a26eee95e517c87fe8aa0/68747470733a2f2f706f7365722e707567782e6f72672f622d616c696472612f786d6c74762f762f737461626c65)](https://packagist.org/packages/b-alidra/xmltv)

epg-generator
=============

[](#epg-generator)

French channels EGP generator

Can be used in your project as a standard library or directly from the command line.

Installation:
-------------

[](#installation)

The library is [PSR-4 compliant](http://www.php-fig.org/psr/psr-4)and the simplest way to install it is via composer:

```
 composer require b-alidra/epg-generator

```

Usage
-----

[](#usage)

### Use the lib to generate XML

[](#use-the-lib-to-generate-xml)

```

DOCTYPE tv PUBLIC "SYSTEM" "http://xmltv.cvs.sourceforge.net/viewvc/xmltv/xmltv/xmltv.dtd">

     TF1

     IDF1

   ...

     Météo

     20171012
     Météo
     5

   ...

```

### CLI : List channels

[](#cli--list-channels)

```
% php vendor/bin/epg.php epg:channels --help

Usage:
  epg:channels [options]

Options:
  -p, --provider[=PROVIDER]  Which provider do you want to use ? [default: "telerama"]
  -h, --help                 Display this help message
  -q, --quiet                Do not output any message
  -V, --version              Display this application version
      --ansi                 Force ANSI output
      --no-ansi              Disable ANSI output
  -n, --no-interaction       Do not ask any interactive question
  -v|vv|vvv, --verbose       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  This command allows you to list the available channels.
```

```
% php vendor/bin/epg.php epg:channels

+----------------+------------------------------+
| ID             | Channel                      |
+----------------+------------------------------+
| TNT (4)                                       |
+----------------+------------------------------+
| 1              | TF1                          |
| 9              | France 2                     |
| 21             | France 3                     |
| 7              | Canal+                       |
| 13             | France 5                     |
| 28             | M6                           |
| 25             | Arte                         |
| 64             | C8                           |
| 29             | W9                           |
| 38             | TMC                          |
| 65             | NT 1                         |
| 63             | NRJ 12                       |
| 45             | La Chaine parlementaire      |
                 ...
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~15 days

Total

2

Last Release

3162d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/372249?v=4)[Belkacem Alidra](/maintainers/b-alidra)[@b-alidra](https://github.com/b-alidra)

---

Top Contributors

[![b-alidra](https://avatars.githubusercontent.com/u/372249?v=4)](https://github.com/b-alidra "b-alidra (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/b-alidra-epg-generator/health.svg)

```
[![Health](https://phpackages.com/badges/b-alidra-epg-generator/health.svg)](https://phpackages.com/packages/b-alidra-epg-generator)
```

###  Alternatives

[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

5.0k4.9k](/packages/shlinkio-shlink)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68353.9k](/packages/run-as-root-magento2-prometheus-exporter)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[eliashaeussler/typo3-solver

Solver - Extends TYPO3's exception handling with AI generated solutions. Problems can also be solved from command line. Several OpenAI parameters are configurable and prompts and solution providers can be customized as desired.

302.1k](/packages/eliashaeussler-typo3-solver)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
