svenanders / sarmysql
Easy MySQL/MariaDB implementation
Installs: 16
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/svenanders/sarmysql
Requires
- php: >=5.3.0
- psr/log: ~1.0
- shopsys/sysstdlib: dev-master
Requires (Dev)
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-10-11 21:22:36 UTC
README
###More info
How to use
In your composer.json, add the following line
"svenanders/sarmysql": "dev-master"
In your code, include the class:
use SarMysql/SarMysql;
(or use composer's autoloader)
and then in your functions, use it like this:
$dbConn = new SarMysql/SarMysql("environment", "database", "collection");
$cursor = $dbConn->find(array("key" => "value"));
Supports:
->find
->insert
->update
->delete
Tests:
execute phpunit vendor/svenanders/sardatabases/tests/ from the root of your project to run the tests
#####License:
Sven Anders Robbestad (C) 2014