Skip to content

kevinThulnith/php-crud-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple PHP CRUD API

Overview

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.

Features

  • 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.

Requirements

  • PHP 7.0 or higher
  • MySQL
  • Composer (optional for managing dependencies)

Installations

  1. Clone the repository:

    git clone https://github.com/KevinThulnith/php-crud-api.git
  2. 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