2017 © Pedro Peláez
 

library sarmysql

Easy MySQL/MariaDB implementation

image

svenanders/sarmysql

Easy MySQL/MariaDB implementation

  • Tuesday, August 5, 2014
  • by svenanders
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Lightweight MySQL/MariaDB module for PHP

More info

http://blog.robbestad.com, (*1)

How to use

In your composer.json, add the following line, (*2)

"svenanders/sarmysql": "dev-master"

In your code, include the class:, (*3)

use SarMysql/SarMysql;

(or use composer's autoloader), (*4)

and then in your functions, use it like this:, (*5)

$dbConn = new SarMysql/SarMysql("environment", "database", "collection");
$cursor = $dbConn->find(array("key" => "value"));

Supports:, (*6)

->find
->insert
->update
->delete

Tests:, (*7)

execute phpunit vendor/svenanders/sardatabases/tests/ from the root of your project to run the tests, (*8)

License:

Sven Anders Robbestad (C) 2014, (*9)

CC BY, (*10)

The Versions

05/08 2014

dev-master

9999999-dev https://github.com/svenanders/php-mysqli

Easy MySQL/MariaDB implementation

  Sources   Download

CC-BY

The Requires

 

The Development Requires

  • php >=5.3.0

hash