Restful Mysql using PHP with Eloquent ORM