-
-
Notifications
You must be signed in to change notification settings - Fork 108
Remove support for web PHARs #59
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
Conversation
|
I'd like to help. What is web Phar? |
25ef477 to
47a140a
Compare
|
I actually don't think "web PHAR" is the proper term. What I mean is that a a PHP application you can be used to handle the requests and responses or be used for the CLI. You have exactly the same for PHARs. However, I think this is introducing a lot of complexity for something that has no longer any practical use... There isn't really any good reason to serve a PHAR instead of a regular application:
So as much as I appreciate help on this project, unless you have a strong use case for it, I think there's other more interesting things like #13, #8 or humbug/php-scoper#117 |
|
I've never seen such feature, and it doesn't make much sense in real world, so 👍 for removing that. |
|
I saw I have |
Not to my knowledge. When I had a couple of issues requiring debugging I switch between those solutions depending of the issue:
Note that breakpoints should still work inside the PHAR. The extract option/feature is to unpack the PHAR in a directory, nothing more. I don't think it's a completely useless feature but the use case is a bit limited so I dropped it for now |
That's it! Thanks for the idea. |
The reasoning here is very simple:
So rather than trying to support and edge case I have no idea how to support, I prefer to remove the feature and simplify things for now. I'm not against supporting it in the future, but at least if it is it will be with the guarantee that I understand it and that the doc & tests are there.
That said here's the complete change with that PR:
Todo: