diff --git a/CHANGELOG.md b/CHANGELOG.md index b1c0363..96bd055 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ All notable changes to this project will be documented in this file. ### Changed - Implement DeferrableProvider [\#914 / kon-shou](https://github.com/barryvdh/laravel-ide-helper/pull/914) +### Fixed +- Compatibility with Lumen [\#1043 / mfn](https://github.com/barryvdh/laravel-ide-helper/pull/1043) + 2020-09-07, 2.8.1 ----------------- ### Added diff --git a/src/Helpers.php b/src/Helpers.php new file mode 100644 index 0000000..0e968d3 --- /dev/null +++ b/src/Helpers.php @@ -0,0 +1,13 @@ +register('php', function () { - if ((int) Application::VERSION < 8) { + if (Helpers::isLaravel() && (int) Application::VERSION < 8) { return new PhpEngine(); }