Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Abdullah-jerry's avatar

Encryption the laravel source files

I need to encrypt all the laravel files becoz i need to deploy in my client pc how can i do it?

0 likes
7 replies
Abdullah-jerry's avatar

@Tray2 so how can I deploy in my client server is there is any ways to make it or something i can do ?

Tray2's avatar

@Abdullah-jerry You need to deploy it like you would any other server, but you can't protect the sources in any other way than with a license.

There are some third party programs things that can make the code harder to read, but none of them are really good.

Snapey's avatar

Depending on the complexity of your application you might be able to build it with nativePHP and deploy it like any other application. It does not hide the code though and someone determined can examine the source inside the package.

https://nativephp.com/

jlrdw's avatar

You can consider a SaaS app instead.

Please or to participate in this conversation.