Lumen Programming Guide

Lumen Programming Guide

Writing PHP Microservices, REST and Web Service APIs

by Paul Redmond

247 pages· 2016· ISBN 9781484221877
About
Learn to write test-driven microservices, REST APIs, and web service APIs with PHP using the Lumen micro-framework, from the now popular Laravel family. This book shows you how testing APIs can help you write bullet-proof web application services and microservices. In the Lumen Programming Guide you will learn how to use Lumen—a micro-framework by Laravel—to write bullet-proof APIs. Lumen helps you write productive, maintainable APIs using modern application design. You will learn how to write fully-tested APIs and understand essential Lumen concepts used to build a solid foundation for writing API projects. What You Will Learn Maintain your API's database structure through built-in database migrations Write tests with factory data in a test database Respond with consistent data output in JSON Deal with PHP exceptions by using JSON responses Create, read, update, and delete REST resources Represent model associations in API responses Build a solid foundation for writing tests with PHPUnit and Mockery Validate data Who This Book Is For PHP developers with no Laravel experience. Only a basic understanding of HTTP and writing PHP applications is needed to get started.

Discuss Lumen Programming Guide with other readers

Join or start a book club for Lumen Programming Guide on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Lumen Programming Guide?

Sign up free on Readfeed, then browse public clubs or start your own club with Lumen Programming Guide as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Lumen Programming Guide with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Lumen Programming Guide with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.