Download the PHP package luoxiaojun/sw-fw-less without Composer
On this page you can find all versions of the php package luoxiaojun/sw-fw-less. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download luoxiaojun/sw-fw-less
More information about luoxiaojun/sw-fw-less
Files in luoxiaojun/sw-fw-less
Download luoxiaojun/sw-fw-less
More information about luoxiaojun/sw-fw-less
Files in luoxiaojun/sw-fw-less
Vendor luoxiaojun
Package sw-fw-less
Short Description Swoole Http Server without framework
License apache-2.0
Package sw-fw-less
Short Description Swoole Http Server without framework
License apache-2.0
Please rate this library. Is it a good library?
Informations about the package sw-fw-less
sw-fw-less
Description
Swoole http server without framework
Features
- Faster Router
- Router & Global Middleware
- Model(MySQL & Eleasticsearch、Json Serializable、Array Accessable)
- Query Builder(MySQL & Elasticsearch)
- Connection Pool(MySQL、Redis、Experimental AMQP-0-9-1、Experimental HBase)
- Storage(File、Qiniu、Alioss)
- Full Coroutine
- Log(Based on Monolog)
- Distributed Lock(Based on Redis)
- Parameter Validator
- Monitor
- AMQP-0-9-1
- Zipkin Trace
- Dynamic Fault Injection
- Hot Reload(including biz code、config、router, recommended for dev only)
- Experimental Grpc(must open http2)
- Apollo Config Center
Notice
- Don't include io operation in controller or middleware constructor
- Don't open preemptive scheduler
Composer Package Review Suggestion
- Namespace conflicts
- Duplication of functions without namespace
Requirements
- Composer 1.x
- PHP 7.1+
- Swoole 4.2.10+
Installation
Deployment
Nginx
Nginx Config Demo(Modify according to your requirements)
Docker
Usage
Start Server
Demo Api
Grpc Generator
Performance
Environment:
- OS: MacOS 10.14.1
- CPU: 2.3 GHz Intel Core i5 4 Cores
- Memory: 16 GB 2133 MHz LPDDR3
- Swoole: 4.2.9
- PHP: 7.2.8
- Redis: 4.0.11
- API: http://127.0.0.1:9501/redis?key=key
- Concurrent: 300
- Tool: JMeter 4.0 r1823414
Result:
Document
Please see document.
Roadmap
- Add helper functions namespace
All versions of sw-fw-less with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-json Version *
ext-swoole Version >=4.4.0
aura/sqlquery Version ^2
bt51/ntp Version ~0.1.0
cakephp/event Version ~3.7.1|~4
cakephp/validation Version ~3|~4
dragonmantank/cron-expression Version ^2.3
filp/whoops Version ~2.1@stable
league/flysystem Version ~1
luoxiaojun/closure-php Version dev-main
luoxiaojun/grpc Version dev-master
luoxiaojun1992/monolog-co-stream-handler Version ~1.0
monolog/monolog Version ^1
nesbot/carbon Version ^1.26.3|^2.0
nikic/fast-route Version ^1
opis/closure Version ^3.3
php-di/php-di Version ~6.0
psy/psysh Version ~0.10.4
ramsey/uuid Version ~3
swlib/saber Version ^1
symfony/console Version ~3.3.0|~5.3.0
symfony/polyfill-php80 Version ~1.23.1
vlucas/phpdotenv Version ~2.2
ext-json Version *
ext-swoole Version >=4.4.0
aura/sqlquery Version ^2
bt51/ntp Version ~0.1.0
cakephp/event Version ~3.7.1|~4
cakephp/validation Version ~3|~4
dragonmantank/cron-expression Version ^2.3
filp/whoops Version ~2.1@stable
league/flysystem Version ~1
luoxiaojun/closure-php Version dev-main
luoxiaojun/grpc Version dev-master
luoxiaojun1992/monolog-co-stream-handler Version ~1.0
monolog/monolog Version ^1
nesbot/carbon Version ^1.26.3|^2.0
nikic/fast-route Version ^1
opis/closure Version ^3.3
php-di/php-di Version ~6.0
psy/psysh Version ~0.10.4
ramsey/uuid Version ~3
swlib/saber Version ^1
symfony/console Version ~3.3.0|~5.3.0
symfony/polyfill-php80 Version ~1.23.1
vlucas/phpdotenv Version ~2.2
The package luoxiaojun/sw-fw-less contains the following files
Loading the files please wait ....