phpredis VS Predis

Compare phpredis vs Predis and see what are their differences.

Predis

A flexible and feature-complete Redis client for PHP. (by predis)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
phpredis Predis
4 3
9,889 7,523
0.3% 0.3%
8.5 7.0
3 days ago 3 days ago
C PHP
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

phpredis

Posts with mentions or reviews of phpredis. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-12.
  • Monitoring symfony messenger listening to the worker events
    4 projects | dev.to | 12 Nov 2023
    In the next section we're going to configure redis bundle to use phpredis library. Install it before continuing
  • how to handle millions of data read/writes everyday?
    1 project | /r/laravel | 11 Aug 2022
    And then, read up on the PHPRedis Extension to see how easy it is to use -> https://github.com/phpredis/phpredis
  • How much cache to clear during deployment
    1 project | /r/laravel | 17 Jun 2022
    I typically use Redis for all stores (queues, sessions and cache) and I don't have problems like that. It should be comparable to memcached in terms of speed, if that's something that might concern your app. You can find the installation instructions here. After installing redis itself and the PHP extension, you can just switch from 'memcached' to 'redis' in config/sessions.php[driver].
  • Asynchronous Apps
    3 projects | /r/PHPhelp | 17 Feb 2022
    I've done this using PHP/Redis and EventSource, it's a viable option if you don't want to depend on an outside service. The php-redis extension has built in pub/sub capabilities so it's like 30 lines of code to get something up and running quickly.

Predis

Posts with mentions or reviews of Predis. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-08.

What are some alternatives?

When comparing phpredis and Predis you can also consider the following projects:

redis - Native port of Redis for Windows. Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs. This repository contains unofficial port of Redis to Windows.

PHPMongo - MongoDB ODM. Part of @PHPMongoKit

RedisTimeSeries - Time Series data structure for Redis

Monga - Simple and swift MongoDB abstraction.

php-psr - PHP extension providing the accepted PSR interfaces

MongoQB

pusher-js - Pusher Javascript library

dokuwiki-plugin-mdpage - A DokuWiki Plugin for Markdown Page

Iodine - iodine - HTTP / WebSockets Server for Ruby with Pub/Sub support

client - PHP client for Tarantool.

phpredis - A PHP extension for Redis [Moved to: https://github.com/phpredis/phpredis]

vscode-php-debug - PHP Debug Adapter for Visual Studio Code 🐞⛔