Skip to content
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

config() helper to have type-hinting via Enums generated on composer dump-autoload? #1627

Open
Alexstericris opened this issue Dec 6, 2024 · 1 comment

Comments

@Alexstericris
Copy link

Hi,

I would like to start working on open source projects and I have the idea to create a helpers file automatically on dump-autoload which uses the same laravel logic, but has an additional Enum (or possibly multiple Enums) type in it. This Enum would have all the different possible configs avaiable in the current project.

It would look a bit like this
image

Is it worth starting to work on this in a separate branch?

Cheers!

@barryvdh
Copy link
Owner

How do you autocomplete the config file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants