PHPackages                             mistrfilda/pid-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. mistrfilda/pid-api

ActiveLibrary[API Development](/categories/api)

mistrfilda/pid-api
==================

PID api integration using guzzle/http client

v0.3.6(5y ago)2550MITPHPPHP &gt;=7.3

Since Feb 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Mistrfilda/pid-api)[ Packagist](https://packagist.org/packages/mistrfilda/pid-api)[ RSS](/packages/mistrfilda-pid-api/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (10)Dependencies (18)Versions (19)Used By (0)

Simple PHP wrapper for official Prague transport API and RSS feeds
==================================================================

[](#simple-php-wrapper-for-official-prague-transport-api-and-rss-feeds)

Instalation
-----------

[](#instalation)

```
composer require mistrfilda/pid-api
```

Golemio
-------

[](#golemio)

Currently supports V2 of API - `https://api.golemio.cz/v2` - more about api on

### Usage

[](#usage)

- Obtain access token -
- Use new instance of prepared class with endpoints

```
$golemioService = new \Mistrfilda\Pid\Api\GolemioService('Your access token');
```

#### Supported endpoints with methods:

[](#supported-endpoints-with-methods)

Each response returns data value object with obtained response. For example, get stops returns [Stop response object](https://github.com/Mistrfilda/pid-api/blob/master/src/Stop/StopResponse.php)

- GTFS stops () - `$golemioService->sendGetStopsRequest();`
- GTFS trips () - `$golemioService->sendGetStopTripsRequest();`
- GTFS stoptimes () - `$golemioService->sendGetStopTimesRequest();`
- Vehicle positions () - `$golemioService->sendGetVehiclePositionRequest();`
- Parkings () - `$golemioService->sendGetParkingLotRequest`

EndpointAPI doc urlGolemio service methodGTFS stops`$golemioService->sendGetStopsRequest();`GTFS trips`$golemioService->sendGetStopTripsRequest();`GTFS stoptimes`$golemioService->sendGetStopTimesRequest();`Vehicle positions`$golemioService->sendGetVehiclePositionRequest();`Parkings`$golemioService->sendGetParkingLotRequest();`RSS feeds
---------

[](#rss-feeds)

### Usage

[](#usage-1)

```
$rssService = new \Mistrfilda\Pid\Api\RssService();
```

#### Supported feeds

[](#supported-feeds)

More info about rss feeds can be found here .

- Planned transport restrictions - long term () - `$rssService->getLongTermRestrictions()`
- Current transport restrictions - short term () - `$rssService->getShortTermRestrictions()`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~25 days

Recently: every ~51 days

Total

18

Last Release

1846d ago

### Community

Maintainers

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

---

Top Contributors

[![Mistrfilda](https://avatars.githubusercontent.com/u/31725173?v=4)](https://github.com/Mistrfilda "Mistrfilda (53 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mistrfilda-pid-api/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[yoti/yoti-php-sdk

Yoti SDK for quickly integrating your PHP backend with Yoti

27539.9k1](/packages/yoti-yoti-php-sdk)[vin-sw/shopware-sdk

A PHP SDK for Shopware 6 Platform

122469.3k6](/packages/vin-sw-shopware-sdk)[commercetools/commercetools-sdk

The official PHP SDK for the commercetools Composable Commerce APIs

19281.5k](/packages/commercetools-commercetools-sdk)

PHPackages © 2026

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