Skip to content

skyfloyd/easy-db-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy DB Layer

This tool provides simple and powerful structure and functionality to work with MySQL database

Structure

At first you need to change Config class properties to your database connection data.

After it you need to create PHP class for each database table. That class must implement DatabaseTables interface. You can take TestTable class as example.

Change $tableName value to your database table name.

$fields array represents mapping of database table fields and data keys in application.

After it you can write functions to manage your table data. Use DBconnection class instance functions to query to database.

License

MIT License

About

This tool provides simple and powerful structure and functionality to work with MySQL database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages