Get your next new eBook for $15 or less! Shop our summer selection >>

Lumen Programming Guide

Writing PHP Microservices, REST and Web Service APIs

Authors: Redmond, Paul

Download source code
  • A first to market book on the Lumen micro-framework, part of the Laravel PHP framework family
  • Deals with growing, popular microservices as well as REST and web services
  • Includes test driven development
see more benefits

Buy this book

eBook 26,99 €
price for Spain (gross)
  • ISBN 978-1-4842-2187-7
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 36,39 €
price for Spain (gross)
  • ISBN 978-1-4842-2186-0
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
  • The final prices may differ from the prices shown due to specifics of VAT rules
About this book

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.

About the authors

Paul Redmond is a web developer writing highly available applications powered by PHP, JavaScript, and RESTful Web Services.

Table of contents (12 chapters)

Buy this book

eBook 26,99 €
price for Spain (gross)
  • ISBN 978-1-4842-2187-7
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 36,39 €
price for Spain (gross)
  • ISBN 978-1-4842-2186-0
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
  • The final prices may differ from the prices shown due to specifics of VAT rules

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Lumen Programming Guide
Book Subtitle
Writing PHP Microservices, REST and Web Service APIs
Authors
Copyright
2016
Publisher
Apress
Copyright Holder
Paul Redmond
eBook ISBN
978-1-4842-2187-7
DOI
10.1007/978-1-4842-2187-7
Softcover ISBN
978-1-4842-2186-0
Edition Number
1
Number of Pages
XX, 247
Number of Illustrations and Tables
48 b/w illustrations, 5 illustrations in colour
Topics