PHP Classes
elePHPant
Icontem

PHP Ezy Query: Execute queries to MySQL, MongoDB and memcached

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-03-01 (8 months ago) RSS 2.0 feedNot enough user ratingsTotal: 107 All time: 8,430 This week: 1,109Up
Version License PHP version Categories
php-ezy-query 1.0The PHP License5PHP 5, Databases
Description Author

This class can execute queries to MySQL, MongoDB and memcached.

It reads a configuration array and connects to one of the supported databases servers like MySQL, MongoDB, memcached or PostGreSQL.

The class can execute several database access operations like ping the server, execute single queries, execute multi-queries, or retrieve any errors.

Picture of Bijaya Kumar  Behera
Name: Bijaya Kumar Behera <contact>
Classes: 6 packages by
Country: India India
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Details
  ___ _  _ ___   ___            ___                    
 | _ \ || | _ \ | __|____  _   / _ \ _  _ ___ _ _ _  _ 
 |  _/ __ |  _/ | _||_ / || | | (_) | || / -_) '_| || |
 |_| |_||_|_|   |___/__|\_, |  \__\_\\_,_\___|_|  \_, |
                        |__/                      |__/  1.0.0

*****************************************
# `PHP_Ezy_Query 1.0.0`
Version: 1.0.0
Author: Bijaya Kumar
Email: it.bijaya@gmail.com
Mobile: +91 9911033016

A simple, Eazy and light weightPHP Database wrapper class includes mysql, mongo and memcache and best for runable services like  cron job

Feature:
	*. support mysqli, pdo, mongo drives
	*. auto reconnection before query
	*. support multi query / store procedure
	*. support IP or sock base connection
	*. support escape 

Eaxmple:
	# Use it as  global 
	global $_CONFIGS;

	# Load config 
	$_CONFIGS = require './.configs' . DS . 'system.cron.config.php';
	
	# Load PHP Ezy DB class file
	require_once( './systems/tgr_db.class.php');
	
	# Initialise a connection
 	$TCDB = TGR_DB::init("TESTCONFIG4");

 	# Query 
 	$rows = TGR_DB::query($TCDB, $qry);

 	# Close a active connection
 	TGR_DB::close($TCDB);
  Files folder image Files  
File Role Description
Files folder image.configs (1 file)
Files folder imagesystems (1 file)
Accessible without login Plain text file PHP_Ezy_Query.sql Data Auxiliary data
Accessible without login Plain text file PHP_Ezy_Query_Example.php Example Example script
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  .configs  
File Role Description
  Accessible without login Plain text file system.cron.config.php Conf. Configuration script

  Files folder image Files  /  systems  
File Role Description
  Plain text file tgr_db.class.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:107
This week:0
All time:8,430
This week:1,109Up