PHPackages                             lyrixx/ratp - 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. lyrixx/ratp

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

lyrixx/ratp
===========

A little crawler/sdk for retrieve in real time information about transport in Paris

v1.0.0(10y ago)18922MITPHP

Since Oct 16Pushed 10y agoCompare

[ Source](https://github.com/lyrixx/ratp)[ Packagist](https://packagist.org/packages/lyrixx/ratp)[ RSS](/packages/lyrixx-ratp/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Ratp SDK
========

[](#ratp-sdk)

[![SensioLabsInsight](https://camo.githubusercontent.com/aed3c1f6e1748ccbc2299a3250b531107f42db6b4307e1cb7d4d6bd64dd1af9b/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f63613164326133322d666562642d346538642d393663642d6131376630616166366266312f6d696e692e706e67)](https://insight.sensiolabs.com/projects/ca1d2a32-febd-4e8d-96cd-a17f0aaf6bf1)[![Build Status](https://camo.githubusercontent.com/ae01bebfba1e6d6ba8212f0cfa070da290a8c813e4d8320485576f801ce39194/68747470733a2f2f7472617669732d63692e6f72672f6c79726978782f726174702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/lyrixx/ratp)

This repository contains a small library to consume the RATP REST web service (huhu)

Usage

```
$api = new Lyrixx\Ratp\Api();

$stop = array(
    array('line' => '138', 'stop' => 'General Leclerc-Victor Hugo', 'type' => $api::TYPE_BUS),
);

$stops = $api->getStops($stop);

$stops[0]->getName(); // 'General Leclerc-Victor Hugo'
$stops[0]->getLine(); // '138'
$stops[0]->getType(); // 'metro'

$direction = $stops[0]->getDirection('Ermont-Eaubonne RER.');
foreach($direction->getSchedule() as $time) {
    echo $time; // '11 mn';
}
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3910d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c06557c871a39a7ff7f83bd03aa85dc381147cd7dcd83504400f0acd2fda7835?d=identicon)[lyrixx](/maintainers/lyrixx)

---

Top Contributors

[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (8 commits)")

### Embed Badge

![Health badge](/badges/lyrixx-ratp/health.svg)

```
[![Health](https://phpackages.com/badges/lyrixx-ratp/health.svg)](https://phpackages.com/packages/lyrixx-ratp)
```

###  Alternatives

[raulr/google-play-scraper

A PHP scraper to get app data from Google Play

12894.3k](/packages/raulr-google-play-scraper)[jansenfelipe/cpf-gratis

Com esse pacote você poderá consultar, gratuitamente, CPFs diretamente no site da receita.

1885.9k](/packages/jansenfelipe-cpf-gratis)[bubbstore/correios

Biblioteca que faz cálculo de frete, rastreamento de objetos e consulta de CEP diretamente do Webservice dos Correios.

2591.6k](/packages/bubbstore-correios)[stefanbauer/ignition-laracasts-tab

A tab to retrieve laracasts.com answers

5311.5k](/packages/stefanbauer-ignition-laracasts-tab)[jansenfelipe/cidades-gratis

Com esse pacote você poderá consultar, gratuitamente, Cidades diretamente no site do IBGE.

423.5k](/packages/jansenfelipe-cidades-gratis)

PHPackages © 2026

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