Search code examples
javaphpjarpackagephar

Package PHP Code for Distribution


I know there is a lot difference between PHP and Java. My requirement is to package the PHP code so that it can be distributed to the customers.

I am planning a PHP application which can be packaged to the customers and can be installed at their end. I am looking for a possibility to hide my source code from the customer. Like JAR file in Java. I know we can have PHAR file, but that again doesn't solve the complete problem. You cannot package very big application into a PHAR file.

While using PHAR file, the only solution is to package small libraries and keep rest things intact.

Is there any other way to acheive this use case?


Solution

  • A good alternative will be ionCube, its not a packer but it can encode your Source and hide it in this way.

    ionCube