Author: Manuel Lemos
Updated on: 2022-07-20
Posted on: 2022-07-20
Package: PHP Version Check
This conversion splits the version numbers into three parts: major version, minor version, and patch number.
This possibility helps developers determine if their current version is more recent or older than some other version.
This package parses version string numbers in a way that tolerates variations like putting a v in the front of the version, using needless zero characters before the version number parts, or even missing minor or patch numbers.
It can also normalize the version number strings to comply more with the semver convention.
About the PHP Version Check Package
The package PHP Version Check is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Parse a string with a version number
Here follows in more detail what it does:
This package can parse a string with a version number.
It can take a string with a version number and parses it to extract the version details.
The class can extract the version major, minor, and patch numbers and the next major, next minor, and following patch numbers.
It can also normalize version strings to reformat strings that may not comply with semver version specification.
Conclusion
The PHP Version Check can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,599,133 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
Comments:
No comments were submitted yet.