swoft下载 - PHP 高性能微服务协程全栈框架

4680 2020-02-11 PHP Apache-2.0 官方网站

PHP 高性能微服务协程全栈框架,内置协程网络服务器及常用的协程客户端,常驻内存,不依赖传统的 PHP-FPM,全异步非阻塞 IO 实现。

swoft下载

v2.0.7.zip(v2.0.7) 下载

v2.0.8.zip(v2.0.8) 下载

v2.0.6.zip(v2.0.6) 下载

v2.0.5.zip(v2.0.5) 下载

v2.0.2.zip(v2.0.2) 下载

v2.0.3.zip(v2.0.3) 下载

v2.0.4.zip(v2.0.4) 下载

v2.0.1.zip(v2.0.1) 下载

v2.0.0.zip(v2.0.0) 下载

v1.0.9.zip(v1.0.9) 下载

swoft趋势

swoft截图

swoft截图

swoft介绍

swoft-logo


start-http-server

PHP microservice coroutine framework

中文说明

Introduction

Swoft is a PHP microservices coroutine framework based on the Swoole extension. Like Go, Swoft has a built-in coroutine web server and a common coroutine client and is resident in memory, independent of traditional PHP-FPM. There are similar Go language operations, similar to the Spring Cloud framework flexible annotations, powerful global dependency injection container, comprehensive service governance, flexible and powerful AOP, standard PSR specification implementation and so on.

Through three years of accumulation and direction exploration, Swoft has made Swoft the Spring Cloud in the PHP world, which is the best choice for PHP's high-performance framework and microservices management.

Feature

  • Built-in high performance network server(Http/Websocket/RPC/TCP)

  • Flexible componentization

  • Flexible annotation function

  • Diversified command terminal(Console)

  • Powerful Aspect Oriented Programming(AOP)

  • Perfect Container management、Dependency Injection (DI)

  • Flexible event mechanism

  • Implementation of HTTP message based on PSR-7

  • Event Manager Based on PSR-14

  • Middleware based on PSR-15

  • Internationalization(i18n) support

  • Simple and efficient parameter validator

  • High performance connection pool(Mysql/Redis/RPC),Automatic reconnection

  • Database is highly compatible Laravel

  • Cache Redis highly compatible Laravel

  • Efficient task processing

  • Efficient seconds corntab

  • Process pool

  • Flexible exception handling

  • Powerful log system

  • Service registration & discovery

  • Service breaker

  • Service restrictions

  • Service fallback

  • Configuration Center

  • Apollo

  • Consul

Document

Discuss

Requirement

Install

Composer

composer create-project swoft/swoft swoft

Start

  • Http Server

[root@swoft swoft]# php bin/swoft http:start
  • WebSocket Server

[root@swoft swoft]# php bin/swoft ws:start
  • RPC Server

[root@swoft swoft]# php bin/swoft rpc:start
  • TCP Server

[root@swoft swoft]# php bin/swoft tcp:start
  • Process Pool

[root@swoft swoft]# php bin/swoft process:start

Core Components

Component NamePackagist Version
swoft-annotation
swoft-config
swoft-db
swoft-framework
swoft-i18n
swoft-proxy
swoft-rpc-client
swoft-stdlib
swoft-tcp-server
swoft-aop
swoft-connection-pool
swoft-error
swoft-http-message
swoft-log
swoft-redis
swoft-rpc-server
swoft-task
swoft-validator
swoft-bean
swoft-console
swoft-event
swoft-http-server
swoft-process
swoft-rpc
swoft-server
swoft-tcp
swoft-websocket-server

Extension Components

Component NamePackagist Version
swoft-apollo
swoft-breaker
swoft-crontab
swoft-consul
swoft-limiter
swoft-view
swoft-whoops

License

Swoft is an open-source software licensed under the LICENSE