1 Star 0 Fork 0

manaphp / app-user

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

简介

ManaPHP 支持三种执行方式: 传统模式(Apache/FPM)、常驻内存模式、协程模式。后两种模式具有传统框架无法比拟的性能优势。

常驻内存模式: 与传统PHP框架不同,不需要WEB服务器(Apache/PHP-FPM),框架自带基于Swoole\Http\Server开发的高性能HTTP服务器。 传统的PHP应用程序中脚本结束后,所有的对象在请求后都装销毁,而ManaPHP不同,框架组件对象常驻内存,减少对象反复创建销毁的性能损失。

协程模式: 开启协程后,一个进程可以并行处理N个请求,不会像传统模式/常驻内存模式那样阻塞进程,每增加一个请求只需要增加一些内存消耗, 由于协程能并行处理,所以通常只需要配置于CPU数量一样多的进程数即可,更少的进程带来更少的CPU切换开销。

环境要求

  • PHP >= 8.1

安装

我们提供两种安装方式。一种是通过归档文件安装,另一种则是通过composer进行安装。

通过归档文件进行安装

github下载

composer

composer  create-project manaphp/app-user app-user

开发文档

http://docs.manaphp.com/

技术交流

官方QQ群: 554568116

License

The MIT License (MIT)

MIT License Copyright (c) 2016 Mark Ma Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/manaphp/app-user.git
git@gitee.com:manaphp/app-user.git
manaphp
app-user
app-user
master

搜索帮助