rest-api Example of using a rest api for posts Instalation: composer local-install Endpoints: getAllPosts: [GET] your-vhost.local.com/api/posts getPost: [GET] your-vhost.local.com/api/posts/:id