-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[REQ] Laravel generator status #20437
Comments
looking at the merged PRs for Laravel: https://github.com/OpenAPITools/openapi-generator/pulls?
Yes please 🙏 Let me know if you need any help. Look forward to your contributions. |
I'm interested in either adapting the Laravel generator to follow a server interface paradigm like the Sympfony generator, or to create a new generator that follows this. Do you have a preference for either option? I can't imagine people really using the Laravel generator in it's current state but you might want to have both the stub and interface options available. On another note, is there any trick to improve build times for the project? I'm averaging 3 minute build times and it's a little annoying 😅 Thanks in advance @wing328 ! |
What about using |
I prefer the former - adapting the Laravel generator to follow a server interface paradigm like the Symphony generator |
This is the command I'm running: |
I'm on it! |
Please give it a try with package instead of install. |
Is your feature request related to a problem? Please describe.
I’ve been looking into the Laravel generator and noticed it could use some love. It's outdated and doesn’t fully align with the OpenAPI generator philosophy. It also doesn’t reflect some of the modern approaches seen in other generators, like the Symfony generator. This makes it harder to use the generated code without significant customization.
Describe the solution you'd like
First, I’d like to understand the current status of the Laravel generator:
If there’s no active maintainer, I’d like to help improve it. My goal would be to rewrite parts of the Laravel generator to make it more user-friendly. For example, I really like how the Symfony generator produces a complete controller and leaves the API interface for the user to implement—it’s clean and efficient. I think the Laravel generator could benefit from a similar approach.
I’d also update it to support the latest PHP and Laravel versions (like PHP 8.3 and Laravel 11) and ensure it’s ready for modern development. Beyond that, I’d explore other improvements, but those are my initial ideas.
Additional context
I think improving the Laravel generator could save a lot of time for developers and make it much easier to integrate with modern projects. I’d love to hear more about its current status and whether anyone’s actively maintaining it. If not, I’d be happy to contribute and help bring it up to speed!
The text was updated successfully, but these errors were encountered: