Lumen Programming Guide: Writing PHP Microservices, REST and Web Service APIs
Book information
Description
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 LearnMaintain your API's database structure through built-in database migrationsWrite tests with factory data in a test databaseRespond with consistent data output in JSONDeal with PHP exceptions by using JSON responsesCreate, read, update, and delete REST resourcesRepresent model associations in API responsesBuild a solid foundation for writing tests with PHPUnit and MockeryValidate 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.
Similar books
Pro RESTful APIs: Design, Build and Integrate with REST, JSON, XML and JAX-RS
2017 · PDF
Pro MERN Stack: Full Stack Web App Development with Mongo, Express, React, and Node
2017 · PDF
Beginning KeystoneJS: A practical introduction to KeystoneJS using a real-world project
2016 · PDF
PHP CLI: Create Command Line Interface Scripts with PHP
2016 · PDF
Practical Web Design for Absolute Beginners
2016 · PDF
Crafting Interpreters
2021 · PDF
Coordination Models and Languages: 22nd IFIP WG 6.1 International Conference, COORDINATION 2020, Held as Part of the 15th International Federated Conference on Distributed Computing Techniques, DisCoTec 2020, Valletta, Malta, June 15–19, 2020, Proceedings
2020 · PDF
Trends in Functional Programming: 21st International Symposium, TFP 2020, Krakow, Poland, February 13–14, 2020, Revised Selected Papers
2020 · PDF