PHPackages                             nbzx/blink - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. nbzx/blink

ActiveLibrary[Framework](/categories/framework)

nbzx/blink
==========

A high performance web framework and application server in PHP

v0.4.0(7y ago)013MITPHPPHP &gt;=5.6.0

Since Oct 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nbzx/blink)[ Packagist](https://packagist.org/packages/nbzx/blink)[ RSS](/packages/nbzx-blink/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (7)Versions (12)Used By (0)

Blink - A high performance web framework and application server in PHP
======================================================================

[](#blink---a-high-performance-web-framework-and-application-server-in-php)

[![Build Status](https://camo.githubusercontent.com/2aed69577ce5778f2c572ae9e756e23bc57ea8f1f4a03e44fbbcb0f225a7c4b3/68747470733a2f2f7472617669732d63692e6f72672f626978756568756a696e2f626c696e6b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/bixuehujin/blink)[![Latest Stable Version](https://camo.githubusercontent.com/6df05299c59271618b53f19964efb26a925d259267a90c941ad9491f4bd293c2/68747470733a2f2f706f7365722e707567782e6f72672f626c696e6b2f626c696e6b2f762f737461626c65)](https://packagist.org/packages/blink/blink)[![Latest Unstable Version](https://camo.githubusercontent.com/fa23f543369ed4493b5e33facb8d2073ea6c8bb2fda752ff381819a071d39a58/68747470733a2f2f706f7365722e707567782e6f72672f626c696e6b2f626c696e6b2f762f756e737461626c65)](https://packagist.org/packages/blink/blink)

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](https://github.com/swoole/swoole-src) as the underlying networking library. This can easily make our PHP application 100% faster in just a blink.

Community
---------

[](#community)

- Gitter (Worldwide): [![Join the chat at https://gitter.im/bixuehujin/blink](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/bixuehujin/blink?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
- QQ群 (China): 114632054 (暗号: blink)

Why build this?
---------------

[](#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
--------

[](#features)

- Powered by Swoole, serve requests in PHP directly
- Dependency Injection &amp; Service Locator
- Routing for Restful APIs
- Authentication &amp; Authorization abstraction
- Session Management abstraction
- Middleware support for Request and Response
- Plugins support
- PHPUnit integration for unit tests

Installation
------------

[](#installation)

Install the latest version with

```
composer create-project --prefer-dist blink/seed your-app
```

Documentation
-------------

[](#documentation)

Blink is fully documented in both English and Chinese:

- [English Documentation](https://docs.rethinkphp.com/blink-framework/v0.4/en/)
- [简体中文文档](https://docs.rethinkphp.com/blink-framework/v0.4/zh-CN/)

For the documentation of v0.3, please visit

Related Projects
----------------

[](#related-projects)

- [blink-redis](https://github.com/rethinkphp/blink-redis) A Redis component for the Blink Framework
- [blink-sentry](https://github.com/bixuehujin/blink-sentry) The Sentry integration for Blink Framework.
- [notejam\_blink](https://github.com/Whyounes/notejam_blink) A notejam demo application for Blink.

Participating
-------------

[](#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](https://github.com/bixuehujin/blink/issues)
- Develop features or write documentation via [Pull Requests](https://github.com/bixuehujin/blink/pulls)

Author
------

[](#author)

Follow me on [Twitter](https://twitter.com/bixuehujin) or [Weibo](http://weibo.com/bixuehujin) (Mainland China) to receive news and updates about the framework.

License
-------

[](#license)

The Blink framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~139 days

Recently: every ~115 days

Total

8

Last Release

2882d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.5.0

v0.3.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d0e1865e59b21806e0ceaad06d34147ca7d92b2a317ccd86cb3f59652b36ade6?d=identicon)[nbzx](/maintainers/nbzx)

---

Top Contributors

[![bixuehujin](https://avatars.githubusercontent.com/u/1145280?v=4)](https://github.com/bixuehujin "bixuehujin (290 commits)")[![daxiong123](https://avatars.githubusercontent.com/u/2648157?v=4)](https://github.com/daxiong123 "daxiong123 (21 commits)")[![devonliu02](https://avatars.githubusercontent.com/u/4284940?v=4)](https://github.com/devonliu02 "devonliu02 (11 commits)")[![samnela](https://avatars.githubusercontent.com/u/1852108?v=4)](https://github.com/samnela "samnela (2 commits)")[![lavary](https://avatars.githubusercontent.com/u/4816516?v=4)](https://github.com/lavary "lavary (1 commits)")[![s4urp8n](https://avatars.githubusercontent.com/u/2367692?v=4)](https://github.com/s4urp8n "s4urp8n (1 commits)")[![sunshare](https://avatars.githubusercontent.com/u/921736?v=4)](https://github.com/sunshare "sunshare (1 commits)")[![Whyounes](https://avatars.githubusercontent.com/u/1175548?v=4)](https://github.com/Whyounes "Whyounes (1 commits)")[![wozzup](https://avatars.githubusercontent.com/u/1992406?v=4)](https://github.com/wozzup "wozzup (1 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")[![JanHuang](https://avatars.githubusercontent.com/u/7090871?v=4)](https://github.com/JanHuang "JanHuang (1 commits)")[![kimkit](https://avatars.githubusercontent.com/u/1448791?v=4)](https://github.com/kimkit "kimkit (1 commits)")

---

Tags

frameworkswoolerestful

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nbzx-blink/health.svg)

```
[![Health](https://phpackages.com/badges/nbzx-blink/health.svg)](https://phpackages.com/packages/nbzx-blink)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[blink/blink

A high performance web framework and application server in PHP

83441.9k3](/packages/blink-blink)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
