API creation library for PHP appications