Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oops-org-php/mysql-extension-wrapper

Wrapper for mysql extension
https://github.com/oops-org-php/mysql-extension-wrapper

Last synced: 2 months ago
JSON representation

Wrapper for mysql extension

Awesome Lists containing this project

README

        

Wrapper for PHP mysql extension
===============================
[![GitHub license](https://img.shields.io/badge/license-BSD-blue.svg?style=plastic)](https://raw.githubusercontent.com/OOPS-ORG-PHP/mysql-extension-wrapper/master/LICENSE)

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.

## License
BSD 2-clause

## 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:
```php

```

## Example
```php
user, $row->host);
}

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

?>
```

## Composer

first, make composer.json as follow:
```json
{
"require": {
"joungkyun/mysql-extension-wrapper": "1.0.*"
}
}
```

and, install ***mysql-extension-wrapper***

```bash
[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:

```php

```

## Credits
JoungKyun.Kim