2017 © Pedro Peláez
 

library databaseclass

simple and easy to use database abstraction of mysqli

image

shirerom/databaseclass

simple and easy to use database abstraction of mysqli

  • Sunday, October 22, 2017
  • by shirerom
  • Repository
  • 0 Watchers
  • 0 Stars
  • 30 Installations
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Database Class

A simple and easy to use database abstraction for mysqli., (*1)

Requirements

  • PHP >= 5.6
  • mysqli extension

Usage

First, you've to add this to your composer.json dependencies:, (*2)

"require": {
  "shirerom/databaseclass": ">=1.0"
}

and run, (*3)

composer update

Now you can create a new database object and request data from the database:, (*4)

#!php
require_once "vendor/autoload.php";

$D = new \H1\Database("localhost", "dbuser", "dbpassword", "dbname");

$resultAssoc = $D->execute("SELECT id, name FROM Task")->getRowsAll();

License

The MIT License (MIT), (*5)

Copyright (c) 2015-2017 Johannes Bauer, (*6)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*7)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*8)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*9)

The Versions

22/10 2017

dev-namespace

dev-namespace https://bitbucket.org/shirerom/databaseclass

simple and easy to use database abstraction of mysqli

  Sources   Download

MIT

The Requires

  • php >=5.6.0
  • ext-mysqli *

 

by Johannes Bauer

database mysqli

15/05 2017

dev-master

9999999-dev https://bitbucket.org/shirerom/databaseclass

simple and easy to use database abstraction of mysqli

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mysqli *

 

by Johannes Bauer

database mysqli

16/03 2015

1.0.0

1.0.0.0 https://bitbucket.org/shirerom/databaseclass

simple and easy to use database abstraction of mysqli

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mysqli *

 

by Johannes Bauer

database mysqli