imranertaza/simple-php-crud

This is a very simple php crud package.

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/imranertaza/simple-php-crud

1.1.2.1 2025-02-19 15:12 UTC

This package is auto-updated.

Last update: 2025-12-19 17:14:50 UTC


README

This is a simple open-source PHP library that provides a basic implementation of CRUD operations using Object-Oriented Programming (OOP) principles.

Features

  • Create: Add new records to the database.
  • Read: Retrieve records from the database.
  • Update: Modify existing records in the database.
  • Delete: Remove records from the database.

Example

$crud = new Crud("TableName");

$x = $crud->groupStart()
    ->where(['a' =>'a'],"!=")
    ->NotGroupStart()
    ->orWhere('b', "=",'b')
    ->where('c', "=",'c')
    ->groupEnd()
    ->groupEnd()
    ->where('d', "=",'d')->get();