New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Lumen 6.0] Unsupported Laravel Version #72
Comments
If Lumen version is no longer synchronized with Laravel components version, we'll have to check if there is a proper way to get the exact version of Laravel components, else we could: ask Lumen team to create it and meanwhile guess it from ^6.0 in the string. |
At a first sight, the version string in Lumen is hard-coded so probably has not the laravel components version alone anywhere: https://github.com/laravel/lumen-framework/blob/9b3182e48142e3e61648ed3733d18c0bfbee2f0d/src/Application.php#L143 |
For 4 to 6 version support, simply ignoring |
Please try to update to 1.9.1 |
yeap that fixed this. Thanks 😄 |
Actually, there's something breaking when checking the version. When you call
$app->version()
, Lumen 6.0 will actually returns"Lumen (6.0.2) (Laravel Components ^6.0)"
(note that there's caret after "Laravel Components").Interestingly, when this called on Laravel 6.0, that function would return
"6.0.3"
instead. Also in Lumen 6.0, it didn't haveVERSION
constant. I feels like there's some inconsistency with Laravel code here.What do you think? Should this be issue on your package or this should be Laravel's problem?
Thanks,
The text was updated successfully, but these errors were encountered: