swdeveloper
swdeveloper

Reputation: 918

In PHP how to deliver website to client without giving them source code

As in JSP we give "WAR" file to clients and it contains .class files and other configuration files but not the source code, is there any way, in PHP, to deliver the project (website) to client without giving them source code.

Upvotes: 0

Views: 1148

Answers (2)

ryanzec
ryanzec

Reputation: 28040

Short answer, not really.

I mean you can compile php into a single .phar file however anyone with moderate php knowledge can get the code from that.

There are also solutions http://www.ioncube.com/ though I don't know how easily someone can get the code from it however I would strongly advise against any solution like this as they generally require the user of this "compiled" code to you their proprietary software to run it.

Upvotes: 1

Manual5355
Manual5355

Reputation: 982

Facebook created a project called HipHop php, a php compiler.

See this post:

Can you "compile" PHP code?

Upvotes: 1

Related Questions