PHPackages                             poldixd/vbb-id-converter - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. poldixd/vbb-id-converter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

poldixd/vbb-id-converter
========================

Converts the old station id's to new station id's

1.0.2(8y ago)0614MITPHPPHP &gt;=5.6.4

Since Jun 22Pushed 4mo agoCompare

[ Source](https://github.com/poldixd/vbb-id-converter)[ Packagist](https://packagist.org/packages/poldixd/vbb-id-converter)[ RSS](/packages/poldixd-vbb-id-converter/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (4)Used By (0)

VBB ID Converter
================

[](#vbb-id-converter)

[![build status](https://camo.githubusercontent.com/2d38216a3f183fa73446f7821bde0a7917eeb28160ead6e5ffe886f2c74b09aa/68747470733a2f2f7265706f2e706f6c746d616e6e2e636f6d2f6e696c732e706f6c746d616e6e2f7662622d69642d636f6e7665727465722f6261646765732f6d61737465722f6275696c642e737667)](https://repo.poltmann.com/nils.poltmann/vbb-id-converter/commits/master) [![coverage report](https://camo.githubusercontent.com/828a4fb86362bedb611ba16d43c00740c09a5d4f8cc914f5ec41630219f85c9f/68747470733a2f2f7265706f2e706f6c746d616e6e2e636f6d2f6e696c732e706f6c746d616e6e2f7662622d69642d636f6e7665727465722f6261646765732f6d61737465722f636f7665726167652e737667)](https://repo.poltmann.com/nils.poltmann/vbb-id-converter/commits/master)

Converts the old station id's to new station id's

Usage
-----

[](#usage)

```
poldixd\VbbIdConverter\OldToNew::convert('9193002')
// returns 900000193002
```

If you have leading zeros, set the `$remove_first_zeros` to `true`;

```
poldixd\VbbIdConverter\OldToNew::convert('009193002', true)
// returns 900000193002
```

For the new id schema to the old use

```
poldixd\VbbIdConverter\NewToOld::convert('900000193002')
// returns 9193002
```

License
-------

[](#license)

VBB ID Converter is licensed under the [MIT License](http://opensource.org/licenses/MIT).

Copyright 2017 [Nils Poltmann](https://nils.li/)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance52

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

3247d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/06ee838e882815b78c994ebb11877afddc8955ec84886af6174e64e4f002d67b?d=identicon)[poldixd](/maintainers/poldixd)

---

Top Contributors

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

---

Tags

libraryvbbhafas-id

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/poldixd-vbb-id-converter/health.svg)

```
[![Health](https://phpackages.com/badges/poldixd-vbb-id-converter/health.svg)](https://phpackages.com/packages/poldixd-vbb-id-converter)
```

###  Alternatives

[league/iso3166

ISO 3166-1 PHP Library

69536.3M116](/packages/league-iso3166)[league/statsd

A simple library for working with StatsD in PHP.

3514.3M12](/packages/league-statsd)[payum/iso4217

ISO 4217 PHP Library

16312.1M5](/packages/payum-iso4217)[lambdish/phunctional

λ PHP functional library

3612.0M23](/packages/lambdish-phunctional)[dekor/php-array-table

PHP Library for printing associative arrays as text table (similar to mysql terminal console)

296.6M2](/packages/dekor-php-array-table)

PHPackages © 2026

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