This project provides a simple API built with PHP for performing basic Create, Read, Update, and Delete (CRUD) operations. It serves as a starting point for developers looking to implement a RESTful API using PHP and MySQL.
- Create: Insert new records into the database.
- Read: Fetch records from the database.
- Update: Modify existing records.
- Delete: Remove records from the database.
- JSON Response: All responses are returned in JSON format.
- PHP 7.0 or higher
- MySQL
- Composer (optional for managing dependencies)
-
Clone the repository:
git clone https://github.com/KevinThulnith/php-crud-api.git
-
Postman:
Install postman to test php-crud-api. Open command prompt and give this command + enter, visit 🔗postman.com to install.winget install -e --id Postman.Postman