Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


A high performance web framework and application server in PHP.

Subscribe to updates I use blink

Statistics on blink

Number of watchers on Github 711
Number of open issues 1
Average time to close an issue about 8 hours
Main language PHP
Average time to merge a PR 1 day
Open pull requests 3+
Closed pull requests 5+
Last commit about 2 years ago
Repo Created over 4 years ago
Repo Last Updated almost 2 years ago
Size 331 KB
Homepage https://docs.reth...
Organization / Authorbixuehujin
Latest Releasev0.3.1
Page Updated
Do you use blink? Leave a review!
View blink activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating blink for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

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

Build Status Latest Stable Version Latest Unstable Version

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.


  • Gitter (Worldwide): Join the chat at
  • QQ (China): 114632054 (: blink)

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!


  • 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


Install the latest version with

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


Blink is fully documented in both English and Chinese:

Related Projects


Blink is still in active development, so your participation is very welcome!

You may participate in the following ways:


Follow me on Twitter or Weibo (Mainland China) to receive news and updates about the framework.


The Blink framework is open-sourced software licensed under the MIT license

blink open pull requests (View All Pulls)
  • Creating a new session on the Request if not exists
  • Coroutine Support
  • PSR-7
blink questions on Stackoverflow (View All Questions)
  • Meteor : Blink data when updated
  • Assigning url property to Polymer iron-ajax only works in Blink browsers
  • Why does my Blink based browser play hide and seek?
  • Screen Sharing using OPensips ,Blink and Sylk server
  • How to blink two led simultaneously using Beaglebone black PWM pins in python
  • mfc blink control (custom checklistctrl)
  • why angularstrap modal blink when i try to close it?
  • I want to blink an image using a python code
  • WPF MVVM: blink an image from ViewModel
  • Cant make UIlabel text blink in Xcode
  • How to make ionic popup blink?
  • Swift how to make a button flash or blink?
  • Detect Eye Blink Using Google Vision API
  • Imitating a blink tag with CSS3 animations
  • Python Lighting RGB LED based off blink speed
  • Angularjs - ng-cloak/ng-show elements blink
  • tool tip effect with smooth scroll anchor link blink issue
  • i am trying camera led blink on phone call but is not well working
  • Flash/blink tab effect in Javascript
  • Alternative for <blink>
  • Android change Edit text cursor blink rate
  • Open one popover on page load and hide when clicked anywhere + Open popover blink and close
  • Error compiling Blink application using TOSSIM
  • Subpixel rendering makes text blurry in Blink engine
  • blink with green color .drop div when .drag is dragged
  • How can Make a Button Blink in Android by Java code
  • How to avoid blink/jump transitions with onEnter hook?
  • What is the meaning of these "paint reasons" in a blink browser?
  • Android lollipop shared elements transition blink / flash
  • How can i make an icon blink using CSS/javascript/jquery
blink list of languages used
blink latest release notes
v0.3.1 The Blink Framework v0.3.1 is released

I am very pleased to announce the release of Blink version 0.3.1. Please refer to the documentation to install or upgrade to this version.

Version 0.3.1 is a minor release of Blink framework that brings several new feature and improvements, the following is the changelog:

  • New: Added CookieAuthenticator for cookie based session handling
  • New: Added blink\session\Manager::$sessionClass configuration to subclass Session class
  • Enh: Suppressed warning triggered by cli_set_process_title on macOS
  • Enh: Added $asArray parameter to RequestActor::asJson() to control json decoding
  • Enh: Improved Auth::who() to accept Session object as argument
  • Bug: Fixed routes lazy loading not working
  • Chg: Deprecated Request::$sessionKey configuration
v0.3.0 The Blink Framework v0.3 is released

I am very pleased to announce the release of Blink version 0.3.0. Please refer to the documentation to install or upgrade to this version.

Version 0.3 is a major release of Blink framework that brings several new feature and improvements:

  1. Plugins Support

Blink 0.3 introduced the concept of plugins, with the plugin support, it is possible to inject custom code at the application bootstrapping phase, such as registering services, adding routes. It brings possibilities to implement modules or reuse code in a better way.

  1. Route Group

Blink 0.3 now implemented Route Group, It would be great for large projects to split routes into multiple groups, make the routes management more efficiently.

  1. RequestActor for API testing

Blink 0.3 implemented RequestActor for API testing, it would make API testing more easier and fun.

  1. New server management commands

Blink 0.3 introduced several server management command and enhanced server:serve to support live reloading.

  1. Integrated to PsySH

Blink 0.3 now integrated PsySH, we can interact with Blink application with a simple ./blink shell command.

Here is the changelog of version 0.3.0:

  • New: Added application plugins support
  • New: Added grouped routes support
  • New: Added RequestActor for easier functional testing cases
  • New: Integrated PsySH for better debug experience
  • New: Added CookieBag::all() to return all cookies
  • New: Added the new server management commands(server:start server:stop server:restart server:serve server:reload)
  • Enh: Better PHP7 exception support
  • Enh: Added Custom PID file path support
  • Enh: Improved automatically handling of Content-Type
  • Enh: Added SwServer::$outputBufferSize parameter
  • Enh: Improved Request::secure() to handle X-Forwarded-* headers
  • End: Improved live reload support
  • Chg: Removed php 5.5 support
  • Bug: Fixed Expected array for frame 0 error for PHP7+Xdebug
v0.2.1 0.2.1 release

I am very pleased to announce the 0.2.1 release of Blink Framework. Please refer to the documentation to install or upgrade to this version.

Version 0.2.1 is a minor release of Blink framework that brings the following improvements:

  • Improved blink\session\Manager::get() with empty value
  • Improved support for PHP7
  • Added SwServer::$maxPackageLength configuration
More projects by bixuehujin View all
Other projects in PHP