Simple React PHP CRUD: Manipulate records in a page done using ReactPHP

Recommend this page to a friend!
  Info   View files Example   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-04-14 (4 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 58 This week: 58All time: 9,897 This week: 2Up
Version License PHP version Categories
reactphp-simple-crud 1.0.0Shareware5PHP 5, Databases, Language, Design Pa...
Description Author

This package can manipulate records in a page done using ReactPHP.

It provides an example class that acts as an interface to manipulate records of SQL database table that stores records of users.

The class performs database access operations using ReactPHP to execute the database access queries.

Applications need to use callback functions to process the results of the database queries.

Picture of Ahmad Mustapha
Name: Ahmad Mustapha <contact>
Classes: 11 packages by
Country: Nigeria Nigeria
Innovation award
Innovation award
Nominee: 5x

Details

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
  Files folder image Files  
File Role Description
Files folder imagecrud (1 file)
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file create-tables.php Example Example script
Accessible without login Plain text file create.php Example Example script
Accessible without login Plain text file delete.php Example Example script
Accessible without login Plain text file list.php Example Example script
Accessible without login Plain text file read.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file update.php Example Example script

  Files folder image Files  /  crud  
File Role Description
  Plain text file User.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:58
This week:58
All time:9,897
This week:2Up

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