PHP Package: composer/semver

A PHP library for semantic versioning implementation and comparison with support for range parsing and constraints validation.

Current Version: 3.4.3
Last Updated: 2024-09-19
PHP Requirement: ^5.3.2 || ^7.0 || ^8.0
Dependencies: None

Package Description

The 'composer/semver' library provides essential tools for managing version numbers and constraints in PHP projects. With its range parsing and constraint validation features, developers can easily ensure compatibility and maintain package dependencies. It simplifies semantic versioning by offering flexible and reliable methods for comparing and manipulating version numbers. This library is a must-have for any PHP project that requires precise version control and reliable package management.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.4.3

Download Download v3.4.3

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com

require_once 'libs/composer/semver/3.4.3/loader.php';
use Composer\Semver\Semver;

$obj = new Semver();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.