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 1mo ago

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

Maintenance30

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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