All Projects → tal-tech → Fend

tal-tech / Fend

Licence: apache-2.0
Fend 是一款短小精悍,可在 FPM/Swoole 服务容器平滑切换的高性能PHP框架

Labels

Projects that are alternatives of or similar to Fend

Laravel S
LaravelS is an out-of-the-box adapter between Swoole and Laravel/Lumen.
Stars: ✭ 3,479 (+521.25%)
Mutual labels:  swoole
Swoole Bot
基于swoole实现的微信机器人,依赖vbot和微信网页版的功能,帮助管理微信群/聊天/踢人等
Stars: ✭ 404 (-27.86%)
Mutual labels:  swoole
Fashop
php开源商城系统,基于swoole、easyswoole框架开发
Stars: ✭ 485 (-13.39%)
Mutual labels:  swoole
Shadowfax
Run Laravel on Swoole.
Stars: ✭ 325 (-41.96%)
Mutual labels:  swoole
Hyperf
🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.
Stars: ✭ 4,206 (+651.07%)
Mutual labels:  swoole
Easyswoole
swoole,easyswoole,swoole framework
Stars: ✭ 4,409 (+687.32%)
Mutual labels:  swoole
Yii2 Swoole
yii2 swoole,让yii2运行在swoole上
Stars: ✭ 317 (-43.39%)
Mutual labels:  swoole
Tarsphp
基础目录,聚合所有其他目录,包含文档和例子
Stars: ✭ 505 (-9.82%)
Mutual labels:  swoole
Ide Helper
📘 Swoole IDE Helper
Stars: ✭ 378 (-32.5%)
Mutual labels:  swoole
Dora Rpc
DoraRPC is an RPC For the PHP MicroService by The Swoole
Stars: ✭ 475 (-15.18%)
Mutual labels:  swoole
Swoole Src
🚀 Coroutine-based concurrency library for PHP
Stars: ✭ 17,175 (+2966.96%)
Mutual labels:  swoole
Laravel Swoole
High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
Stars: ✭ 3,726 (+565.36%)
Mutual labels:  swoole
Laravelfly
To be an absolutely safe solution to speed up Laravel with Swoole. Preloading + Coroutine and Tinker Online.
Stars: ✭ 459 (-18.04%)
Mutual labels:  swoole
Simps
🚀 A simple, lightweight and high-performance PHP coroutine framework.
Stars: ✭ 318 (-43.21%)
Mutual labels:  swoole
Cms
Feehi CMS based on yii2
Stars: ✭ 493 (-11.96%)
Mutual labels:  swoole
Reading
整理阅读过的干货文章, 帖子
Stars: ✭ 318 (-43.21%)
Mutual labels:  swoole
Fastd
🚀 A high performance PHP API framework.
Stars: ✭ 423 (-24.46%)
Mutual labels:  swoole
Swoole study
一份Swoole入门教程,根据作者的个人理解编写,常见的Swoole入门知识和讲解。
Stars: ✭ 509 (-9.11%)
Mutual labels:  swoole
Swoolefy
swoolefy是一个基于swoole实现的轻量级、高性能、协程级、开放性的API应用服务框架
Stars: ✭ 495 (-11.61%)
Mutual labels:  swoole
Groupco
PHP的服务化框架。适用于Api、Http Server、Rpc Server;帮助原生PHP项目转向微服务化。出色的性能与支持高并发的协程相结合
Stars: ✭ 473 (-15.54%)
Mutual labels:  swoole

Fend Logo

PHP是一款简单方便的语言,而行业开源框架为了后续灵活 而变得过于繁重

Fend框架是一款很有历史的框架、初代发布后一直在好未来坊间传播使用、衍生出大量分支版本

这是一款很有意思的框架、普通的框架内隐藏着大型互联网经验的精华、也同时存在大量历史痕迹

2019年7月 我们对Fend进行整理、封装、推广、目前在好未来内部有大量的用户在使用、维护

2020年7月 开源、以此共建交流

我们崇尚 脚踏实地、仰望星空 精神 欢迎小伙伴一起参与开源共建


Fend框架文档

Document

中文文档

设计方向

Fend 框架是一款以企业快速实现业务为主要目标的框架,但与复杂的行业流行框架追求不同:

  • 简单实用:追求快速上手,扩展功能一步到位、大量降低功能的复杂度、框架更注重简单实用实现
  • 单层内核:追求一个函数能实现的功能绝不继承封装,不追求框架自身功能的继承可复用
  • 内聚归类:高度集中归类功能,降低底层复杂度,减少底层组件关注度、更多时间在业务
  • 持续积累:持续积累大型互联网线上运营经验,持续探索企业实用技巧,深度来自于积累而非AOP带来的灵活性
  • 内核设计:高内聚简单内核,放开业务自封装空间,留下更多空间给业务
  • 开源心态:开放公开,接受任何符合价值观源码奉献、但有严格代码审核

功能简介

  • Swoole/FPM 双引擎平滑切换(协程版本还在整理稍晚放出)
  • 统一使用 Composer Autoload PSR4
  • 请求Debug 模式,请求网址wxdebug=1可查看debug模式查看异常分析性能
  • 协程模式下对变量域做了更好的封装,降低协程使用难度
  • 支持压测使用灰度影子库
  • 高速map映射路由 + FastRouter正则路由
  • 符合大数据挖掘设计的Trace日志,方便ELK分析、ClickHouse、HBase、实时预警
  • throw new Exception方式处理业务异常、能够快速发现异常

Release Note

  • Tag 1.2.x FPM/Swoole 1.10.x support FPM <-> Swoole 1.10.x
  • Tag 1.3.x FPM/Swoole 4.5.x support FPM <-> Swoole Coroutine 4.5.x

Install for 1.2.x branch

FPM Engine Start

master is 1.2.x version

composer create-project fend/fend-skeleton:~1.2.0 project_name

Ref nginx.conf to configure Nginx and http://127.0.0.1/ on browser

Swoole Engine Start

composer create-project fend/fend-skeleton:~1.2.0 project_name

# swoole start ( /bin/fend depend on composer require symfony/console )
php /bin/fend Swoole -c app/Config/Swoole.php start
php /bin/start.php -c app/Config/Swoole.php start

browser http://127.0.0.1:9572/

1.3.0 version install

composer create-project fend/fend-skeleton:~1.3.0 project_name

Contributors

姓名 事业部 部门
刘帅 (@lsfree) 网校 平台研发部
韩天峰 (@matyhtf) 网校 架构研发部
徐长龙 (@蓝天) 网校 架构研发部
陈曹奇昊 (@twose) 网校 架构研发部
谢华亮 (@黑夜路人) 开放平台 智慧教育
陈雷 (@godblessmychildren) 网校 互联网研发部

(其他贡献者、请详见文档鸣谢)


Contact us

issue: https://github.com/tal-tech/fend/issues

加群请加微信:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].