PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Ahmad Mustapha  >  Simple React PHP CRUD  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Simple React PHP CRUD
Manipulate records in a page done using ReactPHP
Author: By
Last change:
Date: 1 year ago
Size: 835 bytes
 

Contents

Class file image Download

ReactPHP DB CRUD

ReactPHP simple database crud operation.

Installation

Clone this repo

git clone https://github.com/Ahmard/reactphp-crud.git

Install composer packages

cd reactphp-crud
composer update

DB Config

Edit .env file add update it with DB credentials

DB_USER = "root"
DB_PASS = "password"
DB_HOST = "127.0.0.1"
DB_NAME = "myDatabase"

Install DB Tables

Before using this crud demo, DB tables must be installed first.

php create-tables.php

Running Demo

Create new user

php create.php

Read user info

php read.php

Update user info

php create.php

Delete user

php delete.php

List all users

php list.php
For more information send a message to info at phpclasses dot org.