-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔨 determine the existing ✨ asynchronous mode.
- Loading branch information
Showing
11 changed files
with
139 additions
and
465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,26 +3,21 @@ | |
</p> | ||
<p align="center"> | ||
<a href="#"><img src="https://img.shields.io/badge/PHP-%3E%3D%208.1-blue" alt="Build Status"></a> | ||
<a href="https://packagist.org/packages/cloudtay/ripple"><img src="https://img.shields.io/packagist/dt/cloudtay/ripple" alt="Download statistics"></a> | ||
<a href="https://packagist.org/packages/cloudtay/ripple"><img src="https://img.shields.io/packagist/v/cloudtay/ripple" alt="Stable version"></a> | ||
<a href="https://packagist.org/packages/cloudtay/ripple"><img src="https://img.shields.io/packagist/dt/cloudtay/ripple" alt="Download statistics"> </a> | ||
<a href="https://packagist.org/packages/cloudtay/ripple"><img src="https://img.shields.io/packagist/v/cloudtay/ripple" alt="Stable version"> </a> | ||
<a href="https://packagist.org/packages/cloudtay/ripple"><img src="https://img.shields.io/packagist/l/cloudtay/ripple" alt="License"></a> | ||
</p> | ||
<p> | ||
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. | ||
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. </p> | ||
|
||
## Design Philosophy | ||
|
||
Extreme performance is not our leading direction | ||
|
||
It is the `Event` mechanism that 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, | ||
|
||
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 | ||
|
||
### 🌟 群聊已开放加入~ 🌟 | ||
|
@@ -41,20 +36,20 @@ Completely free the hands of PHPer and seamlessly embrace the new era of PHP cor | |
composer require cloudtay/ripple | ||
```` | ||
|
||
## Basic usage | ||
## Latest documentation | ||
|
||
ripple strictly follows the latest strongly typed programming standards and is very friendly to IDEs | ||
The following reproduction process is perfectly supported and explained in any IDE | ||
You can visit `ripple`’s [documentation](https://ripple.cloudtay.com/) to start reading | ||
|
||
### Latest documentation | ||
We recommend that you start with [Manual Installation](https://ripple.cloudtay.com/docs/install/professional) to better | ||
understand the workflow of ripple | ||
|
||
You can visit ripple’s [Documentation](https://ripple.cloudtay.com/) to start reading | ||
If you want to quickly deploy and use `ripple` services, you can directly | ||
visit [Quick Deployment](https://ripple.cloudtay.com/docs/install/server) | ||
|
||
We recommend that you start with [Manual Installation](https://ripple.cloudtay.com/docs/install/professional) to | ||
better understand ripple’s workflow | ||
## Basic usage | ||
|
||
If you want to quickly deploy and use ripple's services, you can directly | ||
visit [Quick Deployment](https://ripple.cloudtay.com/docs/install/server) | ||
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 | ||
|
||
|
@@ -205,7 +200,7 @@ Co\wait(); | |
> 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](https://ripple.cloudtay.com/) to start reading | ||
You can visit ripple’s [documentation](https://ripple.cloudtay.com/) to start reading | ||
|
||
## Appendix | ||
|
||
|
@@ -217,25 +212,26 @@ You can visit ripple’s [Documentation](https://ripple.cloudtay.com/) to start | |
**🚀 [Guzzle](https://docs.guzzlephp.org/en/stable/)** | ||
PHP is the most widely used HTTP client | ||
|
||
**🔥 [AmPHP](https://amphp.org/)** | ||
**🔥[AmPHP](https://amphp.org/)** | ||
Provides rich PHP asynchronous components for users to encapsulate by themselves | ||
|
||
**🚀 [Driver](https://github.com/cloudtay/ripple-driver)** | ||
**🚀[Driver](https://github.com/cloudtay/ripple-driver)** | ||
The official high-performance driver library provides seamless access to your traditional applications. | ||
|
||
**🚀 [webman-coroutine](https://github.com/workbunny/webman-coroutine)** | ||
**🚀[Webman-coroutine](https://github.com/workbunny/webman-coroutine)** | ||
The workbunny team's integrated webman coroutine extension provides coroutine support for Webman. | ||
|
||
**🟢 [ripple](https://github.com/cloudtay/ripple)** | ||
**🟢[ripple](https://github.com/cloudtay/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 their use is not recommended | | ||
| 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 | ||
|
||
|
@@ -246,11 +242,15 @@ pecl install ev | |
## Special thanks | ||
|
||
<a href="https://www.jetbrains.com/?from=ripple" target="__blank"> | ||
<img src="https://www.jetbrains.com/company/brand/img/jetbrains_logo.png" width="200"> | ||
<img src="https://www.jetbrains.com/company/brand/img/jetbrains_logo.png" width="200" alt="jetbrains"> | ||
</a> | ||
|
||
[Jetbrains](https://www.jetbrains.com/?from=ripple) provides free development tools for this project | ||
|
||
### Contact information | ||
|
||
`Email` [email protected] | ||
|
||
`WeChat` jingnigg | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.