Astyle is excellent code formatter for Java C# C++ eta al but it does not format PHP nor Javascrpt. Is there any free opensource code formatter for PHP and Javascript? Google is not very helpful for this case.
NB: I need a C/C++ library as that is a language I'm programming with.
Ended up going for PHP Class. I plan to run with PHP to produce desirable results The code is found here