How to package PHP code like jar in java or exe and dll in visual studio ?
such that when i host it my source code isn't directly available.
How to package PHP code like jar in java or exe and dll in visual studio ?
such that when i host it my source code isn't directly available.
phar just packages things up into a single file, it doesn't stop the source code being visible (just open a phar file in a text editor).
If you want your code encrypting, so that even someone with access to the code can't view it, look into something like Zend Guard or Ioncube.
When you say 'When I host it my source code isn't visible' - if you're running a web application, the end user can't see your source code, of course.