PHPackages                             shockedplot7560/sncf-api - 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. [API Development](/categories/api)
4. /
5. shockedplot7560/sncf-api

ActiveLibrary[API Development](/categories/api)

shockedplot7560/sncf-api
========================

01[1 PRs](https://github.com/ShockedPlot7560/SncfApi/pulls)PHP

Since Sep 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ShockedPlot7560/SncfApi)[ Packagist](https://packagist.org/packages/shockedplot7560/sncf-api)[ RSS](/packages/shockedplot7560-sncf-api/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

PHP SNCF API Client
===================

[](#php-sncf-api-client)

Fully object-oriented PHP client for the SNCF API.

Installation
------------

[](#installation)

```
composer require shockedplot7560/sncf-api
```

Description
-----------

[](#description)

This client is a wrapper around the SNCF API. It allows you to easily interact with the API and get the data you need.

Currently, the client supports the following endpoints:

- `journeys`: Get the journeys between two stations
- `places`: Get the places that match a query

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- API key from SNCF (you can get one [here](https://www.digital.sncf.com/startup/api/))

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66992287?v=4)[ShockedPlot7560 ](/maintainers/ShockedPlot7560)[@ShockedPlot7560](https://github.com/ShockedPlot7560)

---

Top Contributors

[![ShockedPlot7560](https://avatars.githubusercontent.com/u/66992287?v=4)](https://github.com/ShockedPlot7560 "ShockedPlot7560 (7 commits)")

### Embed Badge

![Health badge](/badges/shockedplot7560-sncf-api/health.svg)

```
[![Health](https://phpackages.com/badges/shockedplot7560-sncf-api/health.svg)](https://phpackages.com/packages/shockedplot7560-sncf-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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