Are You Tired Of The Monster Monolith?

The only guide you need to build microservices with Laravel.

★5.0 average rating (really). Read by 712+ happy developers.

Microservices with Laravel

151 Pages Book

151 pages of high-quality content that teaches you how to build microservices with Laravel.

Tons Of Code Examples

You'll learn how to build microservices through real-world examples.

Real-World Application Code

Source code to StockPickr which is a production-ready finance application.

Basic devops

Writing dockerfiles, running containers in docker-compose, and writing CI/CD pipelines. Basic devops concepts every developer should know.


About The Book

"Microservices with Laravel" is the complete guide to mastering building microservices. The book covers topics like:

  • Writing small services with one responsibility

  • Communicating between services in a synchronous way

  • Communicating between services in an asynchronous way

  • Using Redis event streams

  • Running services in Docker containers

  • Using Nginx as a reverse proxy

  • Using PHP8

  • How the frontend should consume services

  • Endless code examples

  • All of the above is illustrated with 25+ figures

  • …And much more

All of the above by building a real-world application. No “hello world” or “smells like a Youtube tutorial” examples. We will implement a basic e-commerce application with important features.

What's inside

Table of Contents

In the book, I teach you how to build microservices by building an e-commerce application. The app has features such as a product catalog, buying products, rating them, warehouses and inventories. These are examples you can use in your daily job as a Laravel developer.


15 pages

The first section of the book focuses on the basics. It shows you what's the problem with monoliths and how services solve these problems.

  • What’s the problem with monoliths?

  • What are microservices?

  • Storing data in different services

  • Communication between services

  • Frontend

  • The promise of microservices


101 pages

This is where we start coding! We will implement many exciting features using the concepts discussed earlier.

  • Requirements

  • High-level overview

  • Building the products service

  • Redis event streams

  • Building the ratings service

  • Building the warehouse service

  • Building the catalog service

  • Building the orders service

  • Resources and DTOs

  • Frontend

  • Testing


25 pages

Finally, we discuss some devops-related topics that are pretty important to understand.

  • Docker containers

  • docker-compose

  • API gateway

  • Nginx reverse proxy

  • Logging

  • CI/CD pipelines

Get A Free Chapter

Download the first 20 pages and take a look at it


What Are People Saying


Premium Package

  • A 39-page case study on designing StockPickr. A financial application with 10 services

  • Source code to StockPickr which is a production app

  • Source code to the e-commerce application developed in the book

  • 5 PHP8 services

  • A Vue3 frontend

  • Dockerfiles and docker-compose

  • Nginx configuration

  • The 151-page book in PDF format

Regular Price $199


Plus Package

  • Source code to the e-commerce application developed in the book

  • 5 PHP8 services

  • A Vue3 frontend

  • Dockerfiles and docker-compose

  • Nginx configuration

  • The 151-page book in PDF format

Regular Price $79

only the essentials

Basic Package

  • The 151-page book in PDF format

Who Am I?

👋 Hey!I'm Martin Joo, a PHP developer since 2012. I'm also a content creator, blogger, and author of:

  • Domain-Driven Design with Laravel

  • Laravel Concepts

  • Test-Driven Development with Laravel

  • Laravel Eloquent Recipes

  • Proper API Design with Laravel

  • Common Mistakes in Laravel

  • Blog For Laravel Artisans

As you can see, I really love Laravel. I'm also sharing everything I know about development on Twitter.

Frequently Asked Questions

Do you offer a money-back guarantee?

Yes, for 30 days! Just reach out to me at, and you'll get your money back. I'll only ask you why didn't you like the product.

Exactly what files are included?

Basic: one PDF file that contains the 151-page book.Plus: one PDF and two folders. The PDF contains the 151-page book, the two folders contain the source code of an e-commerce app.Premium: two PDFs and four folders. One PDF contains the 151-page book the other one is the 39-page case study. The folders contain the source code for the e-commerce application and StockPickr.

Can I upgrade from one package to another later?

Yes! Just drop me an e-mail at, and I'll create you a discount code, so you only have to pay the difference between the two packages.

Is there an epub or mobi format?

Right now, every content ships in PDF format. The reason is simple: the book contains a ton of code examples. These code examples look very nice in a PDF where I can use HTML to format the pages.epub and mobi kind of mess this up, so this is why I exported everything in PDF.However, if you cannot live without these formats, drop me an e-mail, and I can export a copy for you.