ratchetphp/Ratchet

Asynchronous WebSocket server

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 48 minutes ago
Added to GitGenius on September 10th, 2026
Created on April 16th, 2012
Open Issues & Pull Requests: 9 (+0)
GitHub issues: Enabled
Number of forks: 784
Total Stargazers: 6,437 (+0)
Total Subscribers: 216 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 20.6 days
Mean response time: 359.7 days
90th percentile: 1359.0 days
Tracked items: 196

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Work labelled "enhancement" is answered fastest, typically in about 2 days, while "question" waits about 6 weeks. Only 6% of issues opened in the past year have been closed. Three people close 95% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 8
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 2,257 days
Stale 30+ days: 8
Stale 90+ days: 6

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • question (155)
  • enhancement (13)
  • bug (8)
  • invalid (7)
  • feature (6)
  • duplicate (5)
  • awaiting feedback (4)
  • docs (3)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Ratchet is a PHP library for building asynchronous WebSocket servers. It provides the core infrastructure needed to handle real-time bidirectional communication between clients and servers over WebSocket connections, enabling developers to build interactive applications that require persistent connections and instant message delivery.

The library solves the problem of managing multiple concurrent WebSocket connections in PHP, a language traditionally built around synchronous request-response cycles. Ratchet handles the complexity of maintaining open connections, routing messages between clients, and managing connection lifecycle events through an event-driven architecture. It abstracts away the low-level socket handling and protocol details, allowing developers to focus on application logic by implementing message handlers and connection callbacks.

Ratchet suits projects that need real-time features such as live notifications, collaborative editing, live dashboards, or multiplayer interactions. It is particularly valuable for PHP developers who want to add WebSocket capabilities without switching languages or frameworks. Teams building applications where instant server-to-client communication is essential will find the library's straightforward API for broadcasting messages and managing client state useful. The project is appropriate for applications of varying scale, from small real-time features added to existing PHP applications to dedicated real-time services.

The project maintains active engagement with its codebase through regular updates and responsiveness to issues raised by users. Development activity shows consistent attention to bug fixes and improvements addressing real-world usage patterns. The maintainers demonstrate commitment to keeping the library compatible with evolving PHP standards and addressing compatibility concerns as they arise. The project sustains an accessible documentation and example-driven approach that helps developers understand how to integrate WebSocket functionality into their applications.