You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm proposing to drop official suport for Lumen for the following reasons:
- Lumen itself is dead, per [1]
> **Note:** In the years since releasing Lumen, PHP has made a variety of wonderful performance improvements. For this reason, along with the availability of [Laravel Octane](https://laravel.com/docs/octane), we no longer recommend that you begin new projects with Lumen. Instead, we recommend always beginning new projects with [Laravel](https://laravel.com).
Laravel Octact is just Laravel and no one using ide-helper with it
needs anything special.
- For now, the change is mostly on the logistics side (readme, run tests,
issues). In the past we had some special code but over time this was
already removed.
For now people still can use it and nothing will break out of the blue,
but eventually it might
There are a only a few Lumen related issues open currently which would
be closed by this (barryvdh#1105, barryvdh#1069, barryvdh#438).
[1] laravel/lumen@69b2657
You can change the generated filename via the config `meta_filename`. This can be useful for cases where you want to take advantage of PhpStorm's support of the _directory_`.phpstorm.meta.php/`: all files placed there are parsed, should you want to provide additional files to PhpStorm.
406
402
407
-
## Usage with Lumen
408
-
409
-
This package is focused on Laravel development, but it can also be used in Lumen with some workarounds.
410
-
Because Lumen works a little different, as it is like a bare bone version of Laravel and the main configuration
411
-
parameters are instead located in `bootstrap/app.php`, some alterations must be made.
412
-
413
-
### Enabling Facades
414
-
415
-
While Laravel IDE Helper can generate automatically default Facades for code hinting,
416
-
Lumen doesn't come with Facades activated. If you plan in using them, you must enable
417
-
them under the `Create The Application` section, uncommenting this line:
418
-
419
-
```php
420
-
// $app->withFacades();
421
-
```
422
-
423
-
From there, you should be able to use the `create_alias()` function to add additional Facades into your application.
424
-
425
-
### Adding the Service Provider
426
-
427
-
You can install Laravel IDE Helper in `app/Providers/AppServiceProvider.php`,
428
-
and uncommenting this line that registers the App Service Providers, so it can properly load.
0 commit comments