What do people say

“Is it enough just to return my models or collections as JSON, or do I need more?”

Have you had the same question as above where you feel like something is missing? Maybe you’ve already built an API that way and discovered that you disliked it, because you had to implement everything one more time on the frontend.

While returning models and collections as JSON certainly work, there is a more streamlined approach, which follows protocols and has been tested and proven effective for years.

Build an API with Laravel will not only teach you proper conventions that will make you build APIs with confidence. It will also show you how to implement these into Laravel and give you an excellent workflow you will love.

As a bonus, we will also show how an API with strict conventions leads to easier communication between your Laravel Backend and VueJS application.

What will you learn from this book?

  • JSON:API — You will learn about the JSON:API specification and all the benefits.
  • Documentation — You will learn how to create great documentation for your API.
  • Security — You will learn how to secure your APIs using Laravel Passport.
  • Building — You will learn how to implement the JSON:API Specification in Laravel.
  • Testing — You will learn how to test your APIs, to ensure that they work as intended.
  • Workflow — You will learn an excellent development workflow and stay productive, even if you are offline.
Build an API with Laraval - Book cover

What’s inside the book?

  • An introduction to APIs
  • What the JSON:API specification is and the benefits
  • What to plan before you build an API
  • How to document your API
  • How to secure your API in Laravel
  • How to implement the JSON:API specification in Laravel
  • How to test your API using test-driven development
  • How to get an excellent API development workflow with the Laravel tooling
  • BONUS Chapter The benefits of JSON:API on the frontend
Download a sample

We recommend that you read this book if you:

Are building your first API in Laravel

  • Learn the right conventions from the beginning.
  • Learn how to implement an API in Laravel.
  • Learn a great workflow using the Laravel tooling.

Are struggling with the conventions in your APIs

  • Learn the protocols from the JSON:API specification.
  • Learn how conventions can save you time.
  • Learn how to implement conventions in Laravel.

Would like to learn the JSON:API Specification

  • Learn about the JSON:API Specification.
  • Learn how to implement the JSON:API Specification in Laravel.
  • Learn how the JSON:API Specification saves time for consumers of your API.

About the authors

We are the founders of Wacky Studio, which is a small design and development company, based in Denmark. Our field of expertise is mainly web-based, and our projects are developed in everything from Laravel, Vue, Go, HTML5, SASS to Unity3D.

Before we started Wacky Studio, we taught web design and development at a local technical college. We have always loved to pass our knowledge onto students, and see how they evolved to become great designers or developers themselves.

Thomas Nørgaard

Thomas Nørgaard

Developer & Co-founder of Wacky Studio

Christian Nørrelund

Christian Nørrelund

Designer & Co-founder of Wacky Studio

Why this is a good investment?

The purpose of this book is to simplify the complexity of building APIs with Laravel. The book will save you from many hours of self-study and optimize your workflow at the same time, which will make you more confident and experienced when you develop APIs.


Can I get an invoice?

Yes! Click on the "Generate" button in your receipt from Gumroad, when you have purchased the book. You will get a detailed invoice with additional information.

Can I get a physical copy?

At the moment, we are not planning to offer the book as a physical version.

Which formats does the book come in? Is there any DRM?

The book will be available for download as PDF, EPUB, and Kindle. There will be no DRM on the book.

Do you have a money back guarantee policy?

Of course! Just send us an email and we’ll refund the full payment no questions asked.

I have a question. How can I contact you?

Please contact us via email on hello@wackystudio.com