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 1w 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 51% 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

3207d 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

[laravel/framework

The Laravel Framework.

34.9k556.2M21.1k](/packages/laravel-framework)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19467.3M1.9k](/packages/drupal-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

679153.2k7](/packages/spatie-laravel-export)[lion/bundle

Lion-framework configuration and initialization package

132.4k5](/packages/lion-bundle)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

293.1k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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