Download the PHP package codecounter/versionmatcher without Composer
On this page you can find all versions of the php package codecounter/versionmatcher. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package versionmatcher
VersionMatcher
Compare versions with logic opertation. (Actually, it's a project to test ci/cd)
Installation
-
With composer
- Without composer
Usage
-
Compare 2 version strings
-
Compare with logic
- Persisted object
For detailed usage, please view tests
directory.
Develop
- Clone repository
cd dev
cp docker-compose.example.yml docker-compose.yml
, modify it if necessarydocker-compose up -d
docker-compose exec php bash
, ssh to the containercd /var/www
then, you can run unit test by phpunit
, or code sniffer by phpcs
.
php tests/coverage-check.php
after phpunit
, this script can exit stdout with 1
when coverage < 90%, for ci notification.
License
This library is under MIT license.
All versions of versionmatcher with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1
The package codecounter/versionmatcher contains the following files
Loading the files please wait ....