Dacheng 4小时前 16次浏览 0条回复 0 0 0

🎉 Initial Release

First stable release of Yii2-Swoole extension, bringing high-performance coroutine capabilities to Yii2 applications.

✨ Core Features

HTTP Server

  • Single-process coroutine HTTP server with minimal overhead
  • Built-in static file serving (CSS, JS, images, fonts)
  • Graceful shutdown with signal handling
  • Command-line interface for server management

Connection Pooling

  • MySQL connection pool with automatic management
  • Redis connection pool with configurable limits
  • Coroutine-safe connection acquisition and release
  • Connection reuse for persistent performance

Async Job Queue

  • Redis-backed queue implementation
  • Concurrent job processing with configurable workers
  • Queue management commands (run, listen, info, clear)
  • Drop-in replacement for yii2-queue

Logging & Components

  • Non-blocking async file logging with channel buffering
  • Coroutine-safe Session component with Redis storage
  • Coroutine-safe User component
  • Seamless integration with existing Yii2 applications

📋 Requirements

  • PHP >= 8.1
  • Swoole >= 6.0
  • Yii2 >= 2.0

📦 Installation

composer require dacheng-php/yii2-swoole

🚀 Quick Start

See README.md for complete setup instructions.

    没有找到数据。
您需要登录后才可以回复。登录 | 立即注册