dxkite/suda

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

a simple php framework

Maintainers

Details

github.com/DXkite/suda

Source

Issues

Installs: 124

Dependents: 1

Suggesters: 0

Security: 0

Stars: 16

Watchers: 3

Forks: 7

Type:project

v3.1.5 2019-09-01 00:41 UTC

This package is auto-updated.

Last update: 2021-06-06 15:15:48 UTC


README

Latest Stable Version PHP >= 7.2 Scrutinizer Code Quality Total Downloads License

高性能、轻量化Web框架,文档 dxkite.github.io/suda

特性

  • 标准化请求以及响应处理
  • 响应包装器
  • 事件监控器
  • 读写分离与ORM
  • 多缓存支持
  • 模块化支持
  • 标准化日志接口 接入psr/log
  • 命令行工具 接入symfony/console

运行

PHP 运行

git clone https://github.com/dxkite/suda .
php -S 127.0.0.1:8080 -t ./public 

PHP+Swoole 运行 (推荐)

git clone https://github.com/dxkite/suda .
php server.php 127.0.0.1:8080

Web服务器运行

将WEB更目录调整到 public,如果需要URL重写,nginx 配置需包含 nginx.conf, Apache 无需配置