Back to Redis

predis

content/integrate/php-redis/_index.md

latest997 B
Original Source

Predis is the recommended PHP client for Redis.

Overview

Predis is a flexible and feature-complete Redis client for PHP that supports Redis 2.0+ and provides a clean, object-oriented interface.

Key Features

  • Pure PHP implementation: easy Composer installation, framework integration
  • Full Redis Support: Complete command coverage for all Redis features
  • Framework Integration: Seamless integration with Laravel, Symfony, and other PHP frameworks
  • Connection Management: Automatic connection pooling and reconnection handling
  • Flexible Configuration: Customizable connection parameters and command options
  • Error Handling: Comprehensive exception handling for robust applications
  • Async Support: Non-blocking operations for high-throughput applications

Getting Started

Refer to the complete [Predis guide]({{< relref "/develop/clients/php" >}}) to install, connect, and use PHP Redis clients with detailed examples and framework integration guides.