PHPackages                             valorin/debver - 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. valorin/debver

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

valorin/debver
==============

Simple PHP helper class for comparing Debian/Ubuntu package version strings.

1.2(13y ago)31661[2 issues](https://github.com/valorin/debver/issues)BSD-3-ClausePHP

Since Nov 1Pushed 11y ago2 watchersCompare

[ Source](https://github.com/valorin/debver)[ Packagist](https://packagist.org/packages/valorin/debver)[ Docs](https://github.com/valorin/debver)[ RSS](/packages/valorin-debver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

debver - Debian/Ubuntu packager version helper
==============================================

[](#debver---debianubuntu-packager-version-helper)

*Version 1.2* [![Build Status](https://camo.githubusercontent.com/972f5bb9b99ac33cd23f6497002e64f057991a8231c90d3e97ca2f7bdb41024a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f76616c6f72696e2f6465627665722e706e67)](http://travis-ci.org/valorin/debver)

Simple PHP helper class for working with Debian/Ubuntu package version strings.

Installing
----------

[](#installing)

The easiest way to install **Debver** is to use [Composer](http://getcomposer.org/download/), the awesome dependency manager for PHP. Once Composer is installed, run `composer.phar require valorin/debver:1.*` and composer will do all the hard work for you.

Usage
-----

[](#usage)

If you are using the autoloader in Composer (or your framework ties into it), then all you need to do is add a `use Debver\Version;` statement at the top of each file you wish to use **Debver** in and us e it like a normal class:

```
