nbzx/blink
Composer 安装命令:
composer require nbzx/blink
包简介
A high performance web framework and application server in PHP
关键字:
README 文档
README
Blink is a micro web framework for building long-running and high performance services, the design heavily inspired by Yii2 and Laravel. Blink aims to provide the most expressive and elegant API and try to make the experience of web development as pleasant as possible.
Besides, Blink is also an application server that can serve requests directly in PHP, without php-fpm or Apache's mod_php. we use the Swoole extension as the underlying networking library. This can easily make our PHP application 100% faster in just a blink.
Community
Why build this?
In php-fpm or mod_php, all resources like objects and database connections only live within a single request, all these resources will be freed once the request terminates. This works fine with simple applications without much traffic, but for large scale applications, the performance impact of reallocating resources on every request is really huge.
Because of this, we are always trying to find a way to reduce unnecessary resources reallocating on every request, and I'm finally very glad to announce that Blink is exactly the answer!
Features
- Powered by Swoole, serve requests in PHP directly
- Dependency Injection & Service Locator
- Routing for Restful APIs
- Authentication & Authorization abstraction
- Session Management abstraction
- Middleware support for Request and Response
- Plugins support
- PHPUnit integration for unit tests
Installation
Install the latest version with
composer create-project --prefer-dist blink/seed your-app
Documentation
Blink is fully documented in both English and Chinese:
For the documentation of v0.3, please visit https://docs.rethinkphp.com/blink-framework/v0.3/
Related Projects
- blink-redis A Redis component for the Blink Framework
- blink-sentry The Sentry integration for Blink Framework.
- notejam_blink A notejam demo application for Blink.
Participating
Blink is still in active development, so your participation is very welcome!
You may participate in the following ways:
- Report issues or Start a design discussion
- Develop features or write documentation via Pull Requests
Author
Follow me on Twitter or Weibo (Mainland China) to receive news and updates about the framework.
License
The Blink framework is open-sourced software licensed under the MIT license
nbzx/blink 适用场景与选型建议
nbzx/blink 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 13 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 03 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「restful」 「swoole」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 nbzx/blink 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 nbzx/blink 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 nbzx/blink 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
This is a restful api to onesignal.
A RESTful API package for the Laravel and Lumen frameworks.
annotations-scan-plugin
SForum
Simple and lightweight HTTP client based cURL
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-03-28