PHP Microservices — Creating A Basic Restful Crud API

Devin Dixon
Jan 2, 2019 · 4 min read

This tutorial is part of a series of creating Microservices with PHP. Part 1 discussed Sockets, Part 2 discussed RabbitMQ.

One of the most prominent ways to create access to a microservice today is through a RESTful API. REST has great advantages over other protocols like sockets that include:

  1. Non-blocking I/O for the client when implemented in…