balping / laravel-version
Simple wrapper class around version compare
v1.0.0
2017-08-12 13:18 UTC
This package is auto-updated.
Last update: 2024-11-08 06:42:45 UTC
README
Simple wrapper around version_compare
to check Laravel versions.
Install
composer require balping/laravel-version
Example
if (LaravelVersion::min('5.5')) {
// do something
} else {
// do something else
}
License
This package is licensed under the Expat (MIT) license.