PHP based framework for custom application programming interface(API)