zero-to-prod / validate-semver-cli
A CLI for validating a semantic version string.
Fund package maintenance!
Github
Requires
- php: >=8.1
- ext-json: *
- symfony/console: ^7.2
- zero-to-prod/data-model: ^81.9
- zero-to-prod/validate-semver: ^71.0
Requires (Dev)
- phpunit/phpunit: <12.0
README
Contents
- Introduction
- Requirements
- Installation
- Usage
- Docker Image
- Local Development
- Image Development
- Contributing
Introduction
A CLI for validating a semantic version string.
Requirements
- PHP 8.1 or higher.
Installation
Install Zerotoprod\ValidateSemverCli
via Composer:
composer require zero-to-prod/validate-semver-cli
This will add the package to your project’s dependencies and create an autoloader entry for it.
Usage
Run this command to see the available commands:
vendor/bin/validate-semver-cli list
Docker Image
You can also run the cli using the docker image:
docker run --rm davidsmith3/validate-semver-cli
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page if you want to contribute.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Create a new Pull Request.