Build a Simple REST API in PHP. Create the PHP Project Skeleton for Your REST API. Configure a Database for Your PHP REST API. Implement the PHP REST API. Add Authentication to Your PHP REST API
full form of an API is Application Program Interface
by dividing complete full form into parts.
Application: Project or Application you’re working on or creating.
Program: An Existing Program from where you’ll grab your data or material for your website.
Interface: Interface is a term that works as an Intermediate between an application and a program.