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

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

corley/version-bundle
=====================

Corley Version Bundle

0.0.6(11y ago)3589MITPHPPHP &gt;= 5.3.3

Since Sep 29Pushed 11y agoCompare

[ Source](https://github.com/wdalmut/CorleyVersionBundle)[ Packagist](https://packagist.org/packages/corley/version-bundle)[ RSS](/packages/corley-version-bundle/feed)WikiDiscussions develop Synced 1w ago

READMEChangelogDependencies (6)Versions (6)Used By (0)

CorleyVersionBundle
===================

[](#corleyversionbundle)

[![SensioLabsInsight](https://camo.githubusercontent.com/bbad2b996129f05eae8622d36e98c9145a758c5a64252624ac77c41b66c4e568/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36393265656339372d373633382d346536642d623837622d3435326337643966303238662f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/692eec97-7638-4e6d-b87b-452c7d9f028f)

- Master: [![Build Status](https://camo.githubusercontent.com/68cd319ae0cb33e2bba261107f20474ed71efd1d142a9a3ed215035a10c99445/68747470733a2f2f7472617669732d63692e6f72672f7764616c6d75742f436f726c657956657273696f6e42756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wdalmut/CorleyVersionBundle)
- Develop: [![Build Status](https://camo.githubusercontent.com/883dd1d3e912848cd47c1a0ce5f023ad30db55bc12a619780e238423f265b009/68747470733a2f2f7472617669732d63692e6f72672f7764616c6d75742f436f726c657956657273696f6e42756e646c652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/wdalmut/CorleyVersionBundle)

Just an unified way in order to bump app version for Symfony2 applications

In your `AppKernel.php`

```
public function registerBundles()
{
    ...
    $bundles = array(
        ...
        new Corley\VersionBundle\CorleyVersionBundle(),
    );
    ...
    return $bundles;
}
```

And use it!

```
app/console corley:version:bump 0.0.1
```

And see the actual version

```
app/console corley:version:show
```

The bundle creates/updates a `version.yml` file in your `config` folder. That's it no big deal...

In your `config/config.yml` add an import

```
imports:
    - { resource: version.yml }
```

If you want to print it in your templates, just add the version in your twig configuration

```
# config/config.yml
twig:
    globals:
        version: %version%
```

Now you can use it in your templates

```

    Version: {{ version.number }}

```

You can also append the version number after your static resources

```
{% javascripts
    '@CorleyBaseBundle/Resources/public/js/jquery.min.js'
    '@CorleyBaseBundle/Resources/public/bootstrap/js/bootstrap.min.js'
    '@CorleyBaseBundle/Resources/public/select2/select2.min.js'
    '@CorleyBaseBundle/Resources/public/js/bootstrap-datepicker.js'
    '@CorleyBaseBundle/Resources/public/js/theme.js' filter='uglifyjs' output='js/compiled/base.js' %}

{% endjavascripts %}
```

Or you can use it in your git flow release process

```
$ git flow release start 1.0.0
$ app/console corley:version:bump 1.0.0
$ git commit -a -m "Bumped version 1.0.0"
$ git flow release finish 1.0.0
```

Install with composer
---------------------

[](#install-with-composer)

In your `composer.json` add the requirement

```
"require": {
    "corley/version-bundle": "~1"
}
```

Add also the repository to your composer

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.6% 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 ~4 days

Total

6

Last Release

4228d ago

### Community

Maintainers

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

---

Top Contributors

[![wdalmut](https://avatars.githubusercontent.com/u/551974?v=4)](https://github.com/wdalmut "wdalmut (41 commits)")[![cesaredamico](https://avatars.githubusercontent.com/u/202101?v=4)](https://github.com/cesaredamico "cesaredamico (1 commits)")

---

Tags

bundlephpsymfonysymfony-bundleversioningsymfonymanagementversion

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[maba/webpack-bundle

Bundle to Integrate Webpack to Symfony

123268.2k4](/packages/maba-webpack-bundle)

PHPackages © 2026

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