PHP Semver

z4kn4fein

Table of Contents

Classes

Constraint
This class describes a semantic version constraint. It provides ability to verify whether a version satisfies one or more conditions within a constraint.
Inc
Determines by which identifier the given Version should be incremented.
SemverException
Version and Constraint parsing throws this exception when the parsing fails due to an invalid format.
Version
This class describes a semantic version and related operations following the semver 2.0.0 specification.

Traits

Comparable
This trait adds compare functions to Version.
Copyable
This trait adds the copy method to Version.
NextProducer
This trait used to produce incremented Version.
Sortable
This trait used to sort Version arrays.

        
On this page

Search results