specification icon indicating copy to clipboard operation
specification copied to clipboard

Request: Add PHP Support

Open unshowered opened this issue 9 months ago • 4 comments

Description:

I’d love to see PHP support added; Since OpenAPI Generator already supports PHP (-g php), this should be a pretty easy addition with a new repo.

Would this be possible? Happy to help test if needed!

Thanks!

unshowered avatar Mar 18 '25 01:03 unshowered

Hello! Is this for PHP in general, or a PHP framework like Laravel?

sasch-a avatar Mar 26 '25 19:03 sasch-a

What is the use-case for this? It is illegal to build a website which in any way collects the user's password.

Foorack avatar Mar 26 '25 20:03 Foorack

I guess it is for PHP in general since the composer package could be used anywhere.

Personally I would like to use it in a PHP CLI application that uses the Symfony framework.

The use case is basically to use Symfony to build a nice web UI for managing a bot without having to duplicate the code for talking to the database or any of the app logic. There would be no VRC login functionality on the site.

unshowered avatar Mar 28 '25 03:03 unshowered

I see! I could refactor mine at some point to use Symfony (it basically requires Laravel right now) but that development is also tied together with a huge update to my own website that uses it which is not gonna be out anytime soon unfortunately. But if you can wait I will have mine out sometime this year.

sasch-a avatar Mar 29 '25 15:03 sasch-a