Skip to content

thesharifdev/php-crud-with-file-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhpCrudStarterKit Package

PhpCrudStarterKit is a very simple and small PHP package created for fun projects. It provides a basic Create, Read, Update, and Delete (CRUD) functionality using the file system with JSON. This package is ideal for small-scale applications or quick prototypes where a database is unnecessary.

Installation

You can install this package via Composer:

composer require sharif/php-crud-starter-kit

Example

$app = \Sharif\PhpCrudStarterKit\App::getInstance();

// $app->create([ 'name' => 'Ahmed', 'email' => 'qyf9A@example.com' ]);
// $app->delete(1725026277);
// $app->update(1725026238, [ 'name' => 'Sharif', 'email' => 'sharif@example.com' ]);
// print_r($app->show_single( 1725026560 ) );

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages