𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Writing APIs with Lumen: A Hands-on Guide to Writing API Services With PHP

✍ Scribed by Paul Redmond


Year
2016
Tongue
English
Leaves
312
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Learn to Write REST APIs from Scratch

Want to learn how to write fully-tested REST APIs and microservices with PHP? I will walk you through developing an API and teach you how to test your code along the way.

In this book 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.

This book is suitable for PHP developers with no Laravel experience. Only a basic understanding of HTTP and writing PHP applications is needed to get started.

What's Inside the Book?

You will learn how to write fully-tested APIs and understand essential Lumen concepts used to build a solid foundation for writing API projects. You will also learn:

To Maintain your API's database structure through built-in database migrations
Writing Tests with factory data in a test database
Responding with Consistent data output in JSON
How to respond to PHP Exceptions with JSON Responses
How to Create, Read, Update, and Delete REST Resources
How to represent model associations in API responses
A solid foundation for writing tests with PHPUnit and Mockery
Data Validation


πŸ“œ SIMILAR VOLUMES


Lumen Programming Guide: Writing PHP Mic
✍ Paul Redmond (auth.) πŸ“‚ Library πŸ“… 2016 πŸ› Apress 🌐 English

<p><p>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. </p><p>In the <em>Lumen Prog