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

vincent15000's avatar

Code obfuscation for Laravel / VueJS / Docker

Hello,

Last year I worked on a real-time application with Laravel / VueJS / Docker and some additionnal packages like MariaDB, RabbitMQ, websockets, supervisor, ...

The application is distributed via a Docker package.

My client wants to obfuscate the code.

Has anybody already obfuscated a real-time Laravel / VueJS application's code ?

Here are my first researches :

  • it's possible to obfuscate with free or paid packages, but for a relevant protection against reverse engineering, it's recommended to use a paid one

  • code obfuscation can generate bugs

  • with code obfuscation, the application will be less performant

  • to keep a good performance, I can use Octane

Do you have any suggestions for me ?

Thanks for your answer ;).

V

0 likes
4 replies
jlrdw's avatar

It's already protected if the repo is private. Besides any modern app can be duplicated anyway by a knowledgeable developer.

Take this forum, can you see all the code used, no. Not counting the fact he shares how it's done. But if it was a private repo you couldn't.

I would suggest have a private repo for the client.

1 like
vincent15000's avatar

The application is distributed via a Docker package, so anybody having the package could know the code. I think that it's the reason why the client wants to obfuscate the code.

1 like
vincent15000's avatar

Oh ... that's true, and I really didn't remember that I had already posted quite the same. Sorry ...

1 like

Please or to participate in this conversation.