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-10-08 06:32:35 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.