PHP Classes
elePHPant
Icontem

DBScribe: Access databases with several abstraction patterns

Recommend this page to a friend!
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-01-27 (9 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 127 This week: 1All time: 8,330 This week: 1,047Up
Version License PHP version Categories
dbscribe 1.6GNU General Publi...5.3PHP 5, Databases, Code Generation, De...
Description Author

This package can access databases with several abstraction methods.

It provides several classes to that implement different design patterns to store and retrieve data from databases. Currently it provides classes for:

- Connect to a database using PDO, create, drop, alter databases and tables, execute prepared queries from parameters
- Manage collections of values using array objects
- Compose query conditions from parameter values
- Generate classes to map objects to table record values
- Access information of tables and rows
- Other general purpose utility functions

Picture of Ezra Obiwale
  Performance   Level  
Name: Ezra Obiwale <contact>
Classes: 1 package by
Country: Nigeria Nigeria

Details

DBScribe

PDO Abstraction Library to manage CRUD functions from within PHP with the ability to create databases, tables and columns, and to keep them up-to-date according to models.

FEATURES

  • DB creation
  • Table creation (Mapper required)
  • Table structure update (Mapper required)
  • CRUD operations
  • Model Mapper (uses annotations)

INSTALLATION

There two ways to install DBScribe.

  1. COMPOSER (Recommended) "require": { "d-scribe/db-scribe": "dev-master" }
  2. MANUAL - Create "d-scribe/db-scribe" directory in your vendor directory - Copy the files of DBScribe into that directory

USAGE EXAMPLES

http://ezra-obiwale.github.io/DBScribe/

  Files folder image Files  
File Role Description
Files folder imagesrc (10 files)
Accessible without login Plain text file composer.json Data Composer file
Accessible without login Plain text file LICENSE Lic. License file
Accessible without login Plain text file README.md Data Readme file

  Files folder image Files  /  src  
File Role Description
  Accessible without login Plain text file .htaccess Data apache file
  Plain text file Annotation.php Class Annotation file
  Plain text file ArrayCollection.php Class Array Collection file
  Plain text file Connection.php Class Connection
  Plain text file Criteria.php Class Criteria
  Plain text file Mapper.php Class Mapper
  Plain text file Repository.php Class Repository
  Plain text file Row.php Class Row
  Plain text file Table.php Class Table
  Plain text file Util.php Class Util

 Version Control Unique User Downloads Download Rankings  
 100%
Total:127
This week:1
All time:8,330
This week:1,047Up