Skip to content
This repository has been archived by the owner on Oct 24, 2018. It is now read-only.

BrunoBernardino/SimplePHP-DB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SimplePHP-DB - A Lightweight & Simple PHP Database Class

SimplePHP-DB is a lightweight & simple PHP database class. Currently at version 2.0, it's now built using PDO.

I built it to help get consistent DB interactions on simple PHP scripts (migrations, independent automated crons, etc.).

Usage

The sample.php uses all methods and everything else is pretty well documented in the DB class file itself.

You can still call PDO and PDOStatement methods directly. It's used in the sample.php file as well.

Features

  • Simple query, single execute (query and fetch), execute ( query and fetch all), and other helpful methods.
  • Lightweight
  • PDO/PDOStatement method usage

Dev features

  • Namespaces
  • PHPDoc comments

Requirements

  • PHP 5.3.0+ required
  • PHP PDO

About

Simple Database PHP Class

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages