PHP: What do you recommend me to compile my standalone (not web-based) PHP application?
I have developed an application in PHP that acts as a service; I mean it does not need to be run under a Web Server. I want a way to protect my libraries so I can release a commercial version along the open source one. What do you recommend to compile the code or any开发者_Python百科 other method to achieve this purpose, please?
We have used Zend Guard on one of our projects due to such requirement. Aside from minor code modifications (removing autoloader and similar), it worked out well. The only downside is the licence price, but since it was paid by client as it was their request, we had no problems with that.
Update: Forgot earlier, project was mostly web based app, but there was around 8-10% of it CLI, and there was no problem with it either.
Something like this: http://www.phpcompiler.org/
精彩评论