2017 © Pedro Peláez
 

library sql-pdo-class

image

nahk/sql-pdo-class

  • Tuesday, April 29, 2014
  • by nahk
  • Repository
  • 1 Watchers
  • 1 Stars
  • 20 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

sql-pdo-class

A shortcut class of PDO to use with any SQL Database (for now), (*1)

Installation

First, you need composer. Download it :, (*2)

curl -sS https://getcomposer.org/installer | php

Look if he's installed :, (*3)

php composer.phar

And then install the project :, (*4)

php composer.phar install

In the composer.json of your project, add :, (*5)

"require": {
    "nahk/sql-pdo-class": ">=1.0-dev"
}

Usage example :, (*6)

<?php 
// example.php

require __DIR__.'/vendor/autoload.php';

use Nahk\PDO\SQL;

$sql = new SQL('host', 'db', 'user', 'pass');

Running Tests

To run tests, execute the command :, (*7)

vendor/bin/phpunit

Or you could use your global installation of PHPUnit to do so., (*8)

The Versions

29/04 2014

dev-master

9999999-dev

  Sources   Download

The Requires

  • php >=5.0.0

 

The Development Requires

by Avatar nahk