Simple abstraction for MySQL/MariaDB and PostgreSQL database server(s), compatible with PHP >= 5.3.

1.0.1 2017-02-12 03:47 UTC

This package is auto-updated.

Last update: 2024-04-09 17:10:14 UTC


README

Simple abstraction for MySQL/MariaDB and PostgreSQL database server(s), compatible with PHP >= 5.3.

Build status Code Coverage Latest Version Downloads PHP Version License

SensioLabsInsight

Install

composer require vaibhavpandeyvpz/databoss

Usage

<?php

$db = new Databoss\Connection([
    Databoss\Connection::OPT_DATABASE => 'test',
    Databoss\Connection::OPT_USERNAME => 'root',
    Databoss\Connection::OPT_PASSWORD => '12345678',
]);

/**
 * @desc Simplest it can be
 */
$track = $db->first('music', [
    'artist' => 'Tyga',
    'duration{>}' => 180,
]);

Documentation

To view installation and usage instructions, visit this Wiki.

License

See LICENSE.md file.