Test-Driven APIs with Laravel and Pest
Martin Joo
Starting with TDD is hard and overwhelming. Writing good APIs with high test coverage is even harder... This book will show you how you can:
Achieve near 100% code coverage using Pest
Write standardized requests and responses using JSON API
Create developer-friendly APIs using nested resources
Utilize PHP 8.1 enums with the factory and the strategy design pattern
Use simple, yet powerful concepts from Domain-Driven Design
...and a lot more about API design