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: 2020-09-07 22:10:14 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.