Home

Awesome

swoft-logo

Latest Stable Version Build Status Docker Build Status Php Version Swoole Version Swoft Doc Swoft License Gitter

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

Document

Discuss

Requirement

Install

Composer

composer create-project swoft/swoft swoft

Start

[root@swoft swoft]# php bin/swoft http:start
[root@swoft swoft]# php bin/swoft ws:start
[root@swoft swoft]# php bin/swoft rpc:start
[root@swoft swoft]# php bin/swoft tcp:start
[root@swoft swoft]# php bin/swoft process:start

Core Components

Component NamePackagist Version
swoft-annotationLatest Stable Version
swoft-configLatest Stable Version
swoft-dbLatest Stable Version
swoft-frameworkLatest Stable Version
swoft-i18nLatest Stable Version
swoft-proxyLatest Stable Version
swoft-rpc-clientLatest Stable Version
swoft-stdlibLatest Stable Version
swoft-tcp-serverLatest Stable Version
swoft-aopLatest Stable Version
swoft-connection-poolLatest Stable Version
swoft-errorLatest Stable Version
swoft-http-messageLatest Stable Version
swoft-logLatest Stable Version
swoft-redisLatest Stable Version
swoft-rpc-serverLatest Stable Version
swoft-taskLatest Stable Version
swoft-validatorLatest Stable Version
swoft-beanLatest Stable Version
swoft-consoleLatest Stable Version
swoft-eventLatest Stable Version
swoft-http-serverLatest Stable Version
swoft-processLatest Stable Version
swoft-rpcLatest Stable Version
swoft-serverLatest Stable Version
swoft-tcpLatest Stable Version
swoft-websocket-serverLatest Stable Version

Extension Components

Component NamePackagist Version
swoft-apolloLatest Stable Version
swoft-breakerLatest Stable Version
swoft-crontabLatest Stable Version
swoft-consulLatest Stable Version
swoft-limiterLatest Stable Version
swoft-viewLatest Stable Version
swoft-whoopsLatest Stable Version

License

Swoft is an open-source software licensed under the LICENSE