https://github.com/gianarb/zf2-version-module
Sebastin\Version integration in ZF2
https://github.com/gianarb/zf2-version-module
Last synced: about 1 year ago
JSON representation
Sebastin\Version integration in ZF2
- Host: GitHub
- URL: https://github.com/gianarb/zf2-version-module
- Owner: gianarb
- Created: 2015-03-16T22:36:38.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-18T11:04:28.000Z (over 11 years ago)
- Last Synced: 2025-02-01T21:43:41.393Z (over 1 year ago)
- Language: PHP
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VersionModule
[Sebastion\Version](https://github.com/sebastianbergmann/version) integration in ZF2
## Sebastian\Version
Version is a library that helps with managing the version number of Git-hosted PHP projects.
## Getting Started
Do you use git release in your project?! Awesome!
Now you can resume this information with `$this->getServiceLocator()->get("Config")['version']`
## ViewHelper
Would you manage version of your static assets? Would you print application's version in the footer of your site?
You can use the view helper
```php
$this->getVersion();
```
## Install
` composer require gianarb/version-module`
## Tests
`vendor/bin/phpunit`