I'm looking for a solution (if such an exists) to release a PHP web application from .phar analogically to Java's WAR file.
Requirements:
- compiling source into a package
- automatically unpack public files on release
- support pre/post install hooks
- optionally have a web interface like TomCat
I know it's relatively easy to build it but I was wondering is there a ready solution for that?
You can access static files form phar files easily, but there is some performance penalty involved.
See my phar benchmark blog post for more info.