Download the PHP package cloudtay/ripple without Composer
On this page you can find all versions of the php package cloudtay/ripple. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package ripple
Ripple is a modern, high-performance native PHP coroutine engine designed to solve PHP's challenges in high concurrency, complex network communication and data operations. The engine uses an innovative architecture and efficient programming model to provide powerful and flexible backend support for modern web and web applications. By using ripple, you will experience the advantages of managing tasks from a global view of the system and efficiently handling network traffic and data.
Design Philosophy
The EventLoop
mechanism gives PHP rocket-like performance, and we provide best practices for Event
With the introduction of PHP8
, the more lightweight Fiber
replaces the Generator
coroutine model.
Our design concept can be realized through PHP bootstrapping. At the same time, we use revolt
as the underlying driver
library of ripple, making ripple perfectly compatible with the original PHP ecosystem.
Completely free the hands of PHPer and seamlessly embrace the new era of PHP coroutines
🌟 群聊已开放加入~ 🌟
🔥 交流群的大门已为各位先行者打开,加入ripple的交流群,一起探讨PHP协程的未来
🎉 加入方式
通过以下方式添加作者微信即可加入交流群
微信二维码 |
---|
Install
`
Latest documentation
You can visit ripple
’s documentation to start reading
We recommend that you start with Manual Installation to better understand the workflow of ripple
If you want to quickly deploy and use ripple
services, you can directly
visit Quick Deployment
Basic usage
ripple strictly follows the latest strongly typed programming standards and is very IDE-friendly The following reproduction process is perfectly supported and explained in any IDE
Coroutine
Create coroutines through the
async
method of theCo
class, and simulate IO operations through thesleep
method of theCo
class
HTTP client
Create HTTP coroutine client through
Guzzle
, which perfectly supports functions such as proxy, redirection, timeout, upload and download, etc.
HTTP Client - AI development using SSE
Taking Alibaba Cloud Bailian as an example, obtaining AI-generated text through SSE is so simple.
HTTP server
Create an HTTP coroutine server through
Co\Net
, and process requests through theonRequest
method ofCo\Net
More
Want to know about WebSocket server and client, TCP server and client, UDP server and client, Unix server and client, etc...
You can visit ripple’s documentation to start reading
Appendix
Applicable component library
We allow users to choose applicable component libraries by themselves. All components can be used as described in the document without additional configuration.
🚀 Guzzle PHP is the most widely used HTTP client
🔥AmPHP Provides rich PHP asynchronous components for users to encapsulate by themselves
🚀Driver The official high-performance driver library provides seamless access to your traditional applications.
🚀Webman-coroutine The workbunny team's integrated webman coroutine extension provides coroutine support for Webman.
🟢ripple Provides standard coroutine architecture and tools for rapid development or packaging of traditional applications
Event Library Guide
Extension Types | Recommended Use | Compatibility | Description |
---|---|---|---|
libev |
🏅️ | 🟢️ | Ev is a more efficient event extension that performs consistently in various systems and is |
recommended to be used | |||
Native |
️ | 🟢 | Support the use of PHP's built-in select mechanism |
event |
🌗 | The event characteristics under different systems are not uniform, and its use is not recommended |
Ev extension installation
Special thanks
Jetbrains provides free development tools for this project
Contact information
Email
[email protected]
WeChat
jingnigg
All versions of ripple with dependencies
ext-sockets Version *
ext-openssl Version *
revolt/event-loop Version ^1.0
psr/http-message Version *