PHPackages                             mkerix/php-bvg - 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. mkerix/php-bvg

AbandonedArchivedLibrary

mkerix/php-bvg
==============

An unofficial API for the BVG (Berlin Public Transportation Services) for PHP.

0.1.2(10y ago)117[2 issues](https://github.com/mKeRix/php-bvg/issues)MITPHPPHP ^7.0

Since Mar 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/mKeRix/php-bvg)[ Packagist](https://packagist.org/packages/mkerix/php-bvg)[ RSS](/packages/mkerix-php-bvg/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

php-bvg
=======

[](#php-bvg)

[![Build Status](https://camo.githubusercontent.com/763fe4486ba83bedca2eacedc991c342c712a6add72d3276951f3bb4ab2a3f3f/68747470733a2f2f7472617669732d63692e6f72672f6d4b655269782f7068702d6276672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mKeRix/php-bvg)[![Coverage Status](https://camo.githubusercontent.com/6affe60340c687f7632c8f6df8a40b3939b1a295db0731eb18f944a5a33eab87/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d4b655269782f7068702d6276672f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/mKeRix/php-bvg?branch=master)[![Total Downloads](https://camo.githubusercontent.com/adbc46492a406dce3653c0850b059e8c7e8bc4ccaea42e0a585ceb54b8cb62a0/68747470733a2f2f706f7365722e707567782e6f72672f6d6b657269782f7068702d6276672f646f776e6c6f616473)](https://packagist.org/packages/mkerix/php-bvg)[![Latest Stable Version](https://camo.githubusercontent.com/ee3db29e03d484e1ccc06b05285f3016ba7492f7353d14092187d659b87df00b/68747470733a2f2f706f7365722e707567782e6f72672f6d6b657269782f7068702d6276672f762f737461626c65)](https://packagist.org/packages/mkerix/php-bvg)[![Latest Unstable Version](https://camo.githubusercontent.com/09da96ff93730fab77c88b7429cbbf4d53e1fbdc325e357c56795bbf76acfe1b/68747470733a2f2f706f7365722e707567782e6f72672f6d6b657269782f7068702d6276672f762f756e737461626c65)](https://packagist.org/packages/mkerix/php-bvg)[![License](https://camo.githubusercontent.com/5a5dab2eb4b7e2ba5a5a1a14fea189516ac34372e36c680a93816b8d4b2733d7/68747470733a2f2f706f7365722e707567782e6f72672f6d6b657269782f7068702d6276672f6c6963656e7365)](https://packagist.org/packages/mkerix/php-bvg)

An unofficial API for the BVG (Berlin Public Transportation Services) for PHP.

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

[](#installation)

This package can be found on [Packagist](https://packagist.org/packages/mkerix/php-bvg) and is best loaded using [Composer](http://getcomposer.org/).

```
$ composer require mkerix/php-bvg

```

Usage
-----

[](#usage)

You can search for the ID of a station using a search term:

```
$stations = BVGApi\Station::getStations('alexanderplatz');
```

With the ID you can get the departures starting at a given point in time, which is symbolized by a [Carbon](https://github.com/briannesbitt/carbon) object:

```
$time = \Carbon\Carbon::create(2016, 3, 21, 12, 0, 0, 'Europe/Berlin');
$departures = BVGApi\Station::getDepartures(9100003, $time);
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

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

Total

3

Last Release

3707d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4cdf05ecfb59e920ef348975c384997f811e56b9092cc6a21704b533366e5f8b?d=identicon)[mKeRix](/maintainers/mKeRix)

---

Top Contributors

[![mKeRix](https://avatars.githubusercontent.com/u/770596?v=4)](https://github.com/mKeRix "mKeRix (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mkerix-php-bvg/health.svg)

```
[![Health](https://phpackages.com/badges/mkerix-php-bvg/health.svg)](https://phpackages.com/packages/mkerix-php-bvg)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[spatie/laravel-sitemap

Create and generate sitemaps with ease

2.6k14.6M107](/packages/spatie-laravel-sitemap)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k379.4k24](/packages/team-reflex-discord-php)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)

PHPackages © 2026

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