Simple and modular PHP API