A Laravel API helper class based on the dingo/api package