Skip to product information
1 of 1

Haafiz Waheed-ud-din Ahmad

Building RESTful Web Services with PHP 7

Building RESTful Web Services with PHP 7

Low Stock: Only 1 copies remaining
Regular price £37.25 GBP
Regular price £35.99 GBP Sale price £37.25 GBP
-4% OFF Sold out
Tax included. Shipping calculated at checkout.
  • Condition: Brand new
  • UK Delivery times: Usually arrives within 2 - 3 working days
  • UK Shipping: Fee starts at £2.39. Subject to product weight & dimension
Trustpilot 4.5 stars rating  Excellent
We're rated excellent on Trustpilot.
  • More about Building RESTful Web Services with PHP 7


This book is for PHP developers who want to learn about the REST architecture and build and consume REST APIs in their applications. It covers topics such as understanding the REST API architecture, writing RESTful API web services in PHP 7, addressing security-related issues, leveraging automated testing, and identifying security flaws in existing API endpoints. The book emphasizes the importance of using modern tools like composer, the Lumen framework, and microservices to develop cleaner, secure, and efficient RESTful APIs.

Format: Electronic book text
Length: 244 pages
Publication date: 02 April 2023
Publisher: Packt Publishing Limited


About This Book



Leverage the Lumen framework to build RESTful API endpoints for your applications. Understand how to increase efficiency and security of your web service. Learn to apply the concepts by implementing the examples covered in the book.

Who This Book Is For



This book is for PHP developers who wish to learn about the REST architecture to be able to build and consume REST APIs in their applications.

What You Will Learn



Understand the REST API architecture and its benefits.


Write RESTful API web services in PHP 7.


Address security-elated issues in a REST API.


Leverage the importance of automated testing and write tests for API endpoints.


Identify security flaws in our current API endpoints and tackle them effectively.


Observe the working of Lumen microframeworks and write RESTful web services in it.

In Detail



REST is the most wide spread and effective standard to develop APIs for internet services. With the way PHP and its eco-system has modernized the way code is written by simplifying various operations, it is useful to develop RESTful APIs with PHP 7 and modern tools.


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. The book emphasizes on automated tests, teaches about different testing types, and gives a brief introduction to microservices.

Weight: 454g
Dimension: 188 x 238 x 20 (mm)
ISBN-13: 9781787127746

UK and International shipping information

UK Delivery and returns information:

  • Delivery within 2 - 3 days when ordering in the UK.
  • Shipping fee for UK customers from £2.39. Fully tracked shipping service available.
  • Returns policy: Return within 30 days of receipt for full refund.

International deliveries:

Shulph Ink now ships to Australia, Belgium, Canada, France, Germany, Ireland, Italy, India, Luxembourg Saudi Arabia, Singapore, Spain, Netherlands, New Zealand, United Arab Emirates, United States of America.

  • Delivery times: within 5 - 10 days for international orders.
  • Shipping fee: charges vary for overseas orders. Only tracked services are available for most international orders. Some countries have untracked shipping options.
  • Customs charges: If ordering to addresses outside the United Kingdom, you may or may not incur additional customs and duties fees during local delivery.
View full details