Laravel 源加密

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/42849936/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 15:35:16  来源:igfitidea点击:

Laravel Source Encrypt

laravelencryptionlaravel-5laravel-5.2source-code-protection

提问by Maria Zega

Is there any ways available to encrypt the source code of Laravel? I do not want my client to see my source code. I want to encrypt all my PHP files and codes. Any idea?

有没有什么方法可以加密 Laravel 的源代码?我不希望我的客户看到我的源代码。我想加密我所有的 PHP 文件和代码。任何的想法?

FYI: laravel 5.2

仅供参考:laravel 5.2

回答by Kapil Sharma

Yes you can. There are tools like ZendGuard and few others which can help to gaurd your source code.

是的你可以。ZendGuard 和其他一些工具可以帮助保护您的源代码。

However, ethically, it is not recommended. If your client is paying for the code, ideally, he owns the code. Just my personal view.

但是,从道德上讲,不建议这样做。如果您的客户为代码付费,那么理想情况下,他拥有代码。只是我个人的看法。

回答by Hiren Makwana

Yes, you can do it using third party services like,

是的,您可以使用第三方服务,例如,