PHPackages                             blink/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. blink/blink

ActiveLibrary[Framework](/categories/framework)

blink/blink
===========

A high performance web framework and application server in PHP

v0.4.1(6y ago)83441.9k↑23.1%118[2 PRs](https://github.com/bixuehujin/blink/pulls)3MITPHPPHP &gt;=5.6.0

Since Oct 19Pushed 1mo ago78 watchersCompare

[ Source](https://github.com/bixuehujin/blink)[ Packagist](https://packagist.org/packages/blink/blink)[ RSS](/packages/blink-blink/feed)WikiDiscussions v1 Synced 1mo ago

READMEChangelog (8)Dependencies (7)Versions (13)Used By (3)

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.

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 [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

52

—

FairBetter than 96% of packages

Maintenance58

Moderate activity, may be stable

Popularity52

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.4% 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 ~422 days

Recently: every ~747 days

Total

10

Last Release

58d ago

Major Versions

v0.4.1 → v1.x-dev2026-03-21

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

v0.3.0PHP &gt;=5.6.0

v1.x-devPHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5291f9967c4bb1cfda7f50ecde566eb5b554352fa6f7eb7920104d58704400f5?d=identicon)[bixuehujin](/maintainers/bixuehujin)

---

Top Contributors

[![bixuehujin](https://avatars.githubusercontent.com/u/1145280?v=4)](https://github.com/bixuehujin "bixuehujin (445 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

api-frameworkblinkblink-frameworkframeworkphpphp-frameworkrestfulswoolewebserverframeworkswoolerestful

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

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

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[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)[mix/mix

PHP CLI mode development framework

1.9k1.2k](/packages/mix-mix)

PHPackages © 2026

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