2017 © Pedro Peláez
 

library easy-db-layer

Database Manager

image

sky-floyd/easy-db-layer

Database Manager

  • Saturday, December 10, 2016
  • by allchka.martirosyan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Easy DB Layer

This tool provides simple and powerful structure and functionality to work with MySQL database, (*1)

Structure

At first you need to change Config class properties to your database connection data., (*2)

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., (*3)

Change $tableName value to your database table name., (*4)

$fields array represents mapping of database table fields and data keys in application., (*5)

After it you can write functions to manage your table data. Use DBconnection class instance functions to query to database., (*6)

License

MIT License, (*7)

The Versions

10/12 2016

dev-master

9999999-dev

Database Manager

  Sources   Download

The Requires

  • php ^5.3.3 || ^7.0