PHPackages                             invincible-tech-systems/easeamp-mysql-redis - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. invincible-tech-systems/easeamp-mysql-redis

ActiveLibrary[Database &amp; ORM](/categories/database)

invincible-tech-systems/easeamp-mysql-redis
===========================================

A very simple and safe PHP library that enables easy redis cache warmup from MySQL/MariaDB Database. This uses EaseAmpMysql and EaseAmpRedis packages, that wraps up the AmPHP related MySQL and Redis Packages to interact with MySQL/MariaDB database and also with Redis in-memory cache in an asynchronous &amp; non-blocking way.

1.0.8(5y ago)019MITPHPPHP &gt;=7.2

Since Jan 28Pushed 5y agoCompare

[ Source](https://github.com/invincible-tech-systems/easeamp-mysql-redis)[ Packagist](https://packagist.org/packages/invincible-tech-systems/easeamp-mysql-redis)[ Docs](https://www.invincibletechsystems.com/)[ RSS](/packages/invincible-tech-systems-easeamp-mysql-redis/feed)WikiDiscussions main Synced yesterday

READMEChangelog (9)Dependencies (4)Versions (10)Used By (0)

EaseAmpMysqlRedis
=================

[](#easeampmysqlredis)

> A very simple and safe PHP library that enables easy redis cache warmup from MySQL/MariaDB Database. This uses EaseAmpMysql and EaseAmpRedis packages, that wraps up the AmPHP related MySQL and Redis Packages to interact with MySQL/MariaDB database and also with Redis in-memory cache in an asynchronous &amp; non-blocking way.

### Why EaseAmpMysqlRedis?

[](#why-easeampmysqlredis)

While Prepared Statements on Mysql/MariaDB can be done EaseAmpMysql package and interaction with Redis Cache can be done using EaseAmpRedis package, EaseAmpMysqlRedis class will be useful to do SQL Queries on MySQL/MariaDB in sync with Redis Cache in a simple and easy way.

### Advantages

[](#advantages)

- Easy wrapper methods to deal with SQL Queries and Redis Cache Operations.

### Getting started

[](#getting-started)

With Composer, run

```
composer require invincible-tech-systems/easeamp-mysql-redis:^1.0.8
```

Note that the `vendor` folder and the `vendor/autoload.php` script are generated by Composer; they are not part of PDOLight.

To include the library,

```
