PHPackages                             forelse/version-bundle - 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. forelse/version-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

forelse/version-bundle
======================

Manage your application version

0.0.1(3y ago)09MITPHPPHP &gt;=7.4

Since Jan 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Oipnet/version-bundle)[ Packagist](https://packagist.org/packages/forelse/version-bundle)[ RSS](/packages/forelse-version-bundle/feed)WikiDiscussions main Synced 1mo ago

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

VersionBundle
=============

[](#versionbundle)

This bundle allows to load the version number of the application by reading the version.yaml file in the config/packages folder

Setup
-----

[](#setup)

Use composer to install

```
composer require forelse/version-bundle
```

Configuration
-------------

[](#configuration)

You can customize the parameter bag key in the yaml configuration file.

```
version:
  app_version: 1.0.0.0
  parameterbag_key: app.version
```

Usage
-----

[](#usage)

The version number of the application is then available in the ParameterBag

```
class IndexController extends AbstractController
{
    /**
     * @Route("/", name="home")
     */
    public function index(ParameterBagInterface $parameterBag): Response
    {
        $version = $parameterBag->get('app.version');
    }
}
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1222d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/714074849737adbda39e6b339d248514122857549ed20006be8fed3889121b7c?d=identicon)[oipnet](/maintainers/oipnet)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/forelse-version-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/forelse-version-bundle/health.svg)](https://phpackages.com/packages/forelse-version-bundle)
```

###  Alternatives

[symfony/ux-chartjs

Chart.js integration for Symfony

1003.2M18](/packages/symfony-ux-chartjs)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[pentiminax/ux-datatables

DataTables.net integration for Symfony

605.6k](/packages/pentiminax-ux-datatables)

PHPackages © 2026

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