简体   繁体   中英

how to deploy my php project without source code?

I developed my project in PHP. I want to deploy my project to client machine without source code. is there any solution to protect my code from copying and editing.

If the PHP is running on the client's machine then there is no way to protect your source code. This is because PHP is interpreted meaning that the source code must be present at run time.

At best you can run your source through an obfuscator, but that will only make it harder for someone to steal your source, but not impossible.

I think the best solution for your code to prevent from distribution is:

  1. you have to run systems on your own hosting

  2. you can encrypt and protect your source code before distribution by using other softwares:

    a) sourceguardian
    b) phpbolt
    c) ioncube
    d) zend-guard
    e) ColdevProLayer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM