I've tried to do this on my own but with no big success (a lot of classloader and cache issues). I've tried also to find some module or solution here on forum also without luck. Maybe I'm blind or something - nevertheless I need your help :).
How do I build SilverStripe (could be 3.x) into PHAR file when all modules are installed etc and DB had been built already? It's not about obfuscating or anything like that - I'm also Java developer and I really prefer to have everything in one file instead of few thousands. Furthermore it's possible to protect application from various flaws by signing archive etc. It also makes update process much easier.
Probably I've to leave untouched some dirs for example upload dir, log dir and/or cache if needed/relevant. Is there any "best practice" guide out there or working module for example? Any advice?
Thank you very much in advance and sorry for my not-perfect English.