PHPackages                             loeper/kvv - 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. loeper/kvv

ActiveLibrary[API Development](/categories/api)

loeper/kvv
==========

This library provides simple access to the public transportation association KVV in Karlsruhe. It is based on unofficial data sources which are therefore subject to change without notice.

79[1 issues](https://github.com/MartinLoeper/KVV-PHP-unofficial-/issues)PHP

Since Oct 1Pushed 8y ago4 watchersCompare

[ Source](https://github.com/MartinLoeper/KVV-PHP-unofficial-)[ Packagist](https://packagist.org/packages/loeper/kvv)[ RSS](/packages/loeper-kvv/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

KVV-PHP (unofficial)
====================

[](#kvv-php-unofficial)

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

[](#description)

This is an unofficial PHP library for the KVV public transport association in Germany (Baden-Württemberg). It is not developed as part of the official KVV information system and therefore is subject to change without notice.

The library consists of two main modules. The `\KVV\EFA` and the `\KVV\Live\EFA` endpoint. Both of them allow you to request different data and do different operations. The `\KVV\Live\EFA` is signifikantly faster than the other one, because it does not need to parse HTML code and consequently is also more stable. The following is a feature list, showing what you can do with this library.

### Basic \\KVV\\EFA API

[](#basic-kvvefa-api)

- search for bus/tram stations and place names via [autocomplete api](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Basic-Usage#autocomplete)
- search for trips between two locations via [search api](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Basic-Usage#search)
- search for trips with special attributes such as low-floor vehicles via [advanced search api](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Advanced-Usage#search-optimization)
- paging between trips via [paging module](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Advanced-Usage#paging-recommended-implementation)

### Fast \\KVV\\Live\\EFA API

[](#fast-kvvliveefa-api)

- [search stops by name](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Live-API#search-stop-by-name)
- [search stops by id](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Live-API#search-stop-by-id)
- [search stops by latitude and longitude](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Live-API#search-stop-by-latitudelongitude)
- [request live departures from tram stops](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Live-API#grab-live-departures-by-stop-id)
- [request live departures by stop and route](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Live-API#grab-live-departures-by-stop-id-and-route)
- [determine if a given stop is part of a route](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Live-API#check-if-stop-belongs-to-route)

For a full documentation and some useful examples visit the wiki:

### Other languages

[](#other-languages)

Bindings for other programming languages are available for:

- [Python (Live API)](https://github.com/Nervengift/kvvliveapi)
- [Java](https://github.com/MartinLoeper/KVV_JAVA_API)

> If you want to look into the reference, visit the [Types Wiki-Page](https://github.com/MartinLoeper/KVV-PHP-unofficial-/wiki/Types).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d336b73acd0c86eb423b67cffef6d2961c98a336c192879343ff570abb67f6d?d=identicon)[MartinLoeper](/maintainers/MartinLoeper)

---

Top Contributors

[![MartinLoeper](https://avatars.githubusercontent.com/u/5209395?v=4)](https://github.com/MartinLoeper "MartinLoeper (21 commits)")

### Embed Badge

![Health badge](/badges/loeper-kvv/health.svg)

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

###  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.0k14](/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)
