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...
651,963,193
9,701
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
435,097,283
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
412,228,818
4,664
Version History
| Version | Released | License |
|---|---|---|
| v1.0.0 | MIT |