-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Release the WebServer as a standalone application #23771
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
Comments
@voronkovich the removal of supports for and if we go this way, the |
@stof, Thanks for the code review! I've fixed the problems you pointed out:
|
@voronkovich Since the purpose of detaching this bundle to something standalone I rather see the namespacing of this package to follow as |
@ricknox, IMO a standalone application isn't a "component". Also, for example, the Symfony Installer use a |
@voronkovich Fair point, I didn't know about those prefix. Carry on. |
Too much work, too little benefit, and too little activity. |
One can use the new Symfony CLI as well: https://symfony.com/download. |
Uh oh!
There was an error while loading. Please reload this page.
Trying to solve the problem with environment variables (see #23723 ) I figured out that the main problem is:
So, what about to release it as a standalone console app? The big benefit of doing that is that not only Symfony developers could use the web server.
I've forked the WebServerBundle and created the POC for this idea. All changes needed, you can see in this diff: symfony/web-server-bundle@master...voronkovich:master
If you want to see how it works, you can clone the repo (https://github.com/voronkovich/symfony-webserver) and build a phar archive using the box.
To avoid the BC breaks we could add the application as a dependency to the original
WebServerBundle
and just change the commands FQNs:The text was updated successfully, but these errors were encountered: