Predis VS phpredis

Compare Predis vs phpredis and see what are their differences.

Predis

A flexible and feature-complete Redis client for PHP. (by predis)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Predis phpredis
3 4
7,523 9,889
0.3% 0.3%
7.0 8.5
7 days ago 7 days ago
PHP C
MIT License GNU General Public License v3.0 or later
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.

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.

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.

What are some alternatives?

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

PHPMongo - MongoDB ODM. Part of @PHPMongoKit

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.

Monga - Simple and swift MongoDB abstraction.

RedisTimeSeries - Time Series data structure for Redis

MongoQB

php-psr - PHP extension providing the accepted PSR interfaces

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

pusher-js - Pusher Javascript library

client - PHP client for Tarantool.

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

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

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