Yet another PHP redis implementation. Raw wrapper for real Redis fans. Main advantages:
- Doesn't require any dependencies as all the communication goes via TCP/Unix socket.
- All commands are passed as is, so you have all the freedom to play with Redis just like in redis-cli.
- It won't get deprecated or obsolete. You write raw commands by yourself.
- Doesn't matter which Redis version you have.
- Supports chainable methods. Write multiple commands and send everything at once.
- Custom error function to handle errors.
- Simple and lightweight. All ~600 lines of code are straight forward.
- Forces you to actually learn and understand Redis data structures and commands.
This fork makes it compatible with Composer and adds a minimal library for PHP 8 type checking.
You can checkout latest version with:
$ git clone git://github.com/thisispiers/PHP-Redis-implementation
composer require thisispiers/php-redis-implementation
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
- Arminas Zukauskas - [email protected]
- thisispiers
Based on http://redis.io/topics/protocol
MIT Do whatever you want, attribution is nice but not required