Building RESTful Web Services with PHP 7

Learn how to build RESTful API and web services in PHP 7

Building RESTful Web Services with PHP 7

Haafiz Waheed-ud-din Ahmad

Learn how to build RESTful API and web services in PHP 7
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781787127746
Paperback244 pages

Book Description

REST is the most wide spread and effective standard to develop APIs for internet services. With the way PHP 7 has modernized the way code is written by simplifying various operations, it is useful to develop RESTful APIs in PHP7.

This book explains in detail how to create your own RESTful API in PHP 7 that can be consumed by other users in your organization.

Starting with a brief introduction to the fundamentals of REST architecture and the new features in PHP 7, you will learn to implement basic RESTful API endpoints using vanilla PHP. The book explains how to identify flaws in security and design and teach you how to tackle them. You will learn about composer, Lumen framework and how to make your RESTful API cleaner, secure and efficient by following SOLID principles. The book emphasizes on automated tests, teaches about different testing types and give a brief introduction to microservices which is the natural way forward.

After reading this book, you will have a clear understanding of the REST architecture and you can build a web service from scratch.

Table of Contents

What You Will Learn

  • REST API architecture and its benefits
  • How to write RESTful API web services in PHP7
  • To address security related issues in a REST API
  • Importance of automated testing and to write tests for API endpoints
  • Implement SOLID principles in your code and the purpose of Micro-services
  • How to identify security flaws in our current API endpoints and tackle them effectively
  • The working of Lumen microframework and writing RESTful web services in it

Authors

Table of Contents

Book Details

ISBN 139781787127746
Paperback244 pages
Read More

Read More Reviews

Recommended for You

Building RESTful Web services with Go Book Cover
Building RESTful Web services with Go
$ 31.99
$ 22.40
Building RESTful Python Web Services with Django [Video] Book Cover
Building RESTful Python Web Services with Django [Video]
$ 124.99
$ 106.25
Building RESTful Python Web Services with Tornado [Video] Book Cover
Building RESTful Python Web Services with Tornado [Video]
$ 124.99
$ 106.25
Building a RESTful Web Service with Spring Book Cover
Building a RESTful Web Service with Spring
$ 23.99
$ 16.80
RESTful Web services with ASP.NET Core [Video] Book Cover
RESTful Web services with ASP.NET Core [Video]
$ 124.99
$ 106.25
RESTful Services with ASP.NET Web API [Video] Book Cover
RESTful Services with ASP.NET Web API [Video]
$ 84.99
$ 72.25