Api system for RocketPHP