balping/laravel-version
Moved to GitLab
Warning: This project has been moved to GitLab: https://gitlab.com/balping/laravel-version
Laravel Version
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.
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
631,580,251
9,707
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
404,034,618
608
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
387,976,821
4,658