qmetrics.net

PhpRedis

PHP extension API for Redis and compatible stores

DatabasesDesktop/CLI app

PhpRedis is a native PHP extension providing classes and methods to talk to Redis, with support for Valkey, KeyDB, Dragonfly, clustering, Sentinel, and sessions.

Overview

The PhpRedis extension exposes a PHP API for communicating with the Redis key-value store and compatible alternatives including Valkey, Dragonfly, and KeyDB. Applications use the Redis class and related types to connect, run commands, and handle errors through RedisException where appropriate.

Connection options cover TCP and TLS hosts, Unix domain sockets, timeouts, authentication, database selection, persistent connections, pooling, and configurable backoff when reconnecting. The extension implements Redis data types and server features such as hashes, lists, sets, sorted sets, HyperLogLog, geospatial commands, streams, pub/sub, transactions, Lua scripting, and cluster or array sharding modes.

PhpRedis can act as a PHP session handler by setting session.save_handler and a structured session.save_path with weights, timeouts, authentication, and prefixes across multiple Redis hosts. Session locking, compression, and read timeouts are configurable through dedicated INI settings. Documentation also describes Redis Sentinel support and testing harnesses for Redis, RedisArray, RedisCluster, and RedisSentinel classes.

Installation is documented separately for building the extension into PHP runtimes that need direct in-process access rather than a pure-PHP client library.

Key features

  • Native PHP Redis client
  • Cluster and RedisArray support
  • Redis Sentinel integration
  • PHP session save handler
  • TLS and Unix socket connections
  • Persistent connections and pooling
  • Pub/sub, streams, and scripting
  • Valkey and KeyDB compatibility

Use cases

  • PHP apps using Redis cache
  • Redis-backed PHP sessions
  • Clustered Redis clients
  • Sentinel-managed failover
  • In-process Redis command API

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift