Writing APIs with Lumen

Writing APIs with Lumen

  • 类型IT编程
  • 解压无需解压密码
  • 最近更新2021年03月17日
VIP免费下载

Writing APIs with Lumen:

image.png

Writing APIs with Lumen
出版时间:2015-2016
官网链接:leanpub
(PDF)

内容简介:

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
  • This book is not only teaching you Lumen, it will walk you through how to use TDD to write applications and mock objects. This book is basically two books in one, in an easy-to-follow tutorial format.
分享到 :
Build APIs You Won’t Hate
上一篇 2021-03-18
Hacking with React
2021-03-18 下一篇
相关推荐

发表评论

登录... 后才能评论