zero-to-prod/validate-semver

Validates a SemVer String

Fund package maintenance!
zero-to-prod

Installs: 466

Dependents: 0

Suggesters: 1

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Language:Dockerfile

v71.0.4 2024-11-13 12:04 UTC

This package is auto-updated.

Last update: 2024-12-13 12:24:24 UTC


README

Repo GitHub Actions Workflow Status Packagist Downloads php Packagist Version License

Validates a SemVer string.

Installation

Install the package via Composer:

composer require zero-to-prod/validate-semver

Usage

Returns true if the value is a valid SemVer string.

Zerotoprod\ValidateSemVer\ValidateSemVer::isValid('1.0.0')