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...
641,106,524
9,700
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
418,291,778
609
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
394,964,158
4,660
Version History
| Version | Released | License |
|---|---|---|
| v1.0.0 | MIT |