ergebnis/version-constraint

Provides abstractions of version constraints.

Maintainers

πŸ‘ localheinz

Package info

github.com/ergebnis/version-constraint

pkg:composer/ergebnis/version-constraint

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 2

dev-main 2026-06-29 03:53 UTC

Requires

  • php: ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 42afd9a0083c327be899daf0207c915d03d8276a

versionconstraint

This package is auto-updated.

Last update: 2026-06-29 03:54:08 UTC


README

πŸ‘ Integrate
πŸ‘ Merge
πŸ‘ Release
πŸ‘ Renew

πŸ‘ Code Coverage
πŸ‘ Type Coverage

πŸ‘ Latest Stable Version
πŸ‘ Total Downloads
πŸ‘ Monthly Downloads

This project provides a composer package with abstractions of version constraints.

Installation

Run

composer require ergebnis/version-constraint

Usage

This project comes with the following components:

Composer\TildeVersionRange

Create a Composer\TildeVersionRange from a string

<?php

declare(strict_types=1);

use Ergebnis\VersionConstraint;

$versionConstraint = VersionConstraint\Composer\TildeVersionRange::fromString('~1.0.0');

echo $versionConstraint->toString(); // ~1.0.0

Changelog

The maintainers of this project record notable changes to this project in a changelog.

Contributing

The maintainers of this project suggest following the contribution guide.

Code of Conduct

The maintainers of this project ask contributors to follow the code of conduct.

General Support Policy

The maintainers of this project provide limited support.

You can support the maintenance of this project by sponsoring @ergebnis.

PHP Version Support Policy

This project currently supports the following PHP versions:

The maintainers of this project add support for a PHP version following its initial release and may drop support for a PHP version when it has reached its end of life.

Security Policy

This project has a security policy.

License

This project uses the MIT license.

Social

Follow @localheinz and @ergebnis on Twitter.