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

abela's avatar
Level 1

How to secure Laravel App in client server from being cloned or modified?

I work in a software house company, we sell apps to our clients. Usually we deploy the application on our server, but sometimes some clients ask to have the application installed on their server.

Is there a way to secure our app from being cloned or modified without permission?

I have thought about encrypting the files, but is there no other way? such as entering logic into bootstrap/app.php or into AppServiceProvider.php. but if the logic is put there. surely it will be easier to return to the way it was.

I am very happy to receive suggestions and discuss with you, and sorry my English is not fluent because I use translate.

0 likes
2 replies
MohamedTammam's avatar

You can use something like Zend. However, it might slow the website.

The best scenario I see to license your project and have a contract with the client not to copy/modify your project.

Please or to participate in this conversation.