thisispiers / php-redis-implementation
Raw wrapper for real Redis fans
v1.0.1
2023-05-22 09:08 UTC
Requires
- php: >=8.0
This package is auto-updated.
Last update: 2024-10-22 12:02:27 UTC
README
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.
Download
You can checkout latest version with:
$ git clone git://github.com/thisispiers/PHP-Redis-implementation
Install
composer require thisispiers/php-redis-implementation
Contributing
- 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
Author
- Arminas Zukauskas - arminas@ini.lt
- thisispiers
Based on http://redis.io/topics/protocol
License
MIT Do whatever you want, attribution is nice but not required