This is a PHP class with four methods for store, update, insert and delete. It contains only 100 lines of code and perform basic CRUD operation.
To create an object you have pass table name and connection object to the constructor of class. Once object created you can use its functions for Select, Insert , Update and delete operations.