2017 © Pedro Peláez
 

library mysql-extension-wrapper

pure PHP MySQL extension wrapper

image

joungkyun/mysql-extension-wrapper

pure PHP MySQL extension wrapper

  • Saturday, February 17, 2018
  • by Joungkyun
  • Repository
  • 3 Watchers
  • 8 Stars
  • 92 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 3 Versions
  • 7 % Grown

The README.md

Wrapper for PHP mysql extension

GitHub license, (*1)

The mysql-wrapper api support mysql extension api, and was designed to work best as with mysql extension. If you have PHP7 environment and must need mysql extension api, this is good choise., (*2)

License

BSD 2-clause, (*3)

Requirements

  1. This wrapper api requires mysqli extension on PHP 4.1 and after
  2. check with is_resource() about mysql link and mysql result, replace is_myresource() api. For example:
    

Example

user, $row->host);
}

mysql_free_result($result);
mysql_close($con);

?>

Composer

first, make composer.json as follow:, (*4)

{
    "require": {
        "joungkyun/mysql-extension-wrapper": "1.0.*"
    }
}

and, install mysql-extension-wrapper, (*5)

[user@host project]$ php composer.phpt install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing joungkyun/mysql-extension-wrapper (1.0.1): Downloading (100%)
Writing lock file
Generating autoload files
[user@host project]$

and, write code as follow:, (*6)


Credits

JoungKyun.Kim, (*7)

The Versions

17/02 2018

dev-master

9999999-dev https://github.com/OOPS-ORG-PHP/mysql-extension-wrapper

pure PHP MySQL extension wrapper

  Sources   Download

BSD-2-Clause

The Requires

  • php >=4.1.0
  • ext-mysqli *

 

30/05 2017

1.0.1

1.0.1.0 https://github.com/OOPS-ORG-PHP/mysql-extension-wrapper

pure PHP MySQL extension wrapper

  Sources   Download

BSD-2-Clause

The Requires

  • php >=4.1.0
  • ext-mysqli *

 

07/08 2016

1.0.0

1.0.0.0 https://github.com/OOPS-ORG-PHP/mysql-extension-wrapper

pure PHP MySQL extension wrapper

  Sources   Download

BSD-2-Clause

The Requires

  • php >=4.1.0
  • ext-mysqli *