Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: sockeon/sockeon

v2.2.0 - Advanced Scaling Features

29 Nov 12:56
v2.2.0
4ac0573

Choose a tag to compare

Advanced Scaling Features

This release introduces advanced scaling capabilities with proper package distribution configuration.

New Features

  • Connection Pooling: Efficient connection reuse for better resource utilization
  • Async Task Queue: Background processing for heavy operations
  • Performance Monitoring: Comprehensive metrics tracking
  • Enhanced Rate Limiting: Improved defaults for higher capacity (1000 HTTP requests, 2000 WebSocket messages, 500 connections per IP)

Changes

  • Added ConnectionPool class for connection reuse
  • Added AsyncTaskQueue for async task processing
  • Added PerformanceMonitor for tracking server metrics
  • Enhanced SocketController with new scaling methods
  • Improved connection lifecycle management
  • Better error handling and resource cleanup
  • Added .gitattributes for proper package distribution (excludes tests, docs, and development files)

v2.1.1

20 Nov 17:19
910c305

Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.1.1

v2.1.0

20 Nov 16:15
a0c40c6

Choose a tag to compare

What's Changed

  • refactor-server-config by @xentixar in #52
  • feat: Add health check functionality and proxy configuration support by @xentixar in #53

Full Changelog: v2.0.0...v2.1.0

Release v2.0.0

31 Aug 17:56
1c1ecbc

Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v2.0.0

Socklet v1.2.0

07 Jul 18:34
0f9c9d5

Choose a tag to compare

What's Changed

  • Implement special events (connect & disconnect) by @xentixar in #40

Full Changelog: v1.1.0...v1.2.0

Sockeon v1.1.0

31 May 08:43

Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.1.0

Sockeon v1.0.0

24 May 07:39
0eef2d0

Choose a tag to compare

Sockeon v1.0.0 Release Notes

We are excited to announce the first stable release of Sockeon, a framework-agnostic PHP WebSocket and HTTP server library that provides powerful real-time communication capabilities with minimal setup.

Overview

Sockeon v1.0.0 brings a mature, feature-complete implementation for building real-time applications in PHP. With its attribute-based routing, support for namespaces and rooms, and zero external dependencies, Sockeon provides a robust foundation for creating interactive web applications.

Key Features

Combined WebSocket & HTTP Server

  • Single server handling both WebSocket connections and HTTP requests
  • Built using native PHP sockets without external dependencies
  • Event-driven architecture for efficient resource usage

Attribute-Based Routing

  • Intuitive #[SocketOn('event')] attribute for WebSocket event handlers
  • Simple #[HttpRoute('METHOD', '/path')] attribute for HTTP endpoints
  • Path parameters with {parameter} syntax for dynamic routing

Advanced WebSocket Features

  • Namespace support for organizing connection groups
  • Room-based communication for targeted message delivery
  • Bidirectional real-time communication with automatic JSON handling
  • Client connection management with custom data storage

HTTP Capabilities

  • RESTful API support with content negotiation
  • Query parameter and request body parsing
  • Structured Request and Response objects
  • JSON response helpers for API development

Developer Experience

  • Framework-agnostic design - works with any PHP project
  • Middleware support for authentication and request processing
  • Comprehensive error handling and debugging
  • Extensive documentation and examples

Requirements

  • PHP 8.0 or higher

Installation

composer require sockeon/sockeon

Documentation

Visit our comprehensive documentation at https://sockeon.github.io for guides, API references, and examples to get started quickly.

What's Next

This initial stable release establishes a solid foundation for future development. We are committed to maintaining backward compatibility while introducing new features and improvements in upcoming releases.

Thank You

We would like to thank all contributors and early adopters who provided valuable feedback during the development of Sockeon. Your input has been instrumental in shaping this release.


The Sockeon Team
GitHub: https://github.com/sockeon/sockeon