Download Latest Version The Blink Framework v0.4.1 is released.zip (132.7 kB)
Email in envelope

Get an email when there's a new version of Blink

Home / v0.4.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2018-06-23 1.8 kB
The Blink Framework v0.4 is released.tar.gz 2018-06-23 76.5 kB
The Blink Framework v0.4 is released.zip 2018-06-23 130.4 kB
Totals: 3 Items   208.8 kB 0

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

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

  1. Blink is now compatible with PSR-7

    With the PSR-7 support, it would be easier to integrate 3rd HTTP related libraries into Blink.

    Because Request::getBody() method is already taken in PSR-7, the original getBody() is renamed to getPayload().

  2. Environment configuration support

    Blink 0.4 introduced a dotenv alike mechanism to store environment specific or sensitive configurations, this helps us to build a unified approach to store these configurations in Blink applications.

  3. Service management utility

    Blink 0.4 introduced a service management utility to help us to run Blink application under systemd as system service.

Here is the changelog of version 0.4.0:

  • New: Added ENV_FILE(like dotenv) support
  • New: Added service:install command to install blink app as a systemd service
  • New: Compatible with PHP 7.2
  • New: Added SwServer::$dispatchMode config to tune Swoole's dispatch_mode
  • New: Compatible with PSR-7 HTTP message interfaces
  • Chg: The Request::getParams() method will not convert special characters into _ any more, see here for more detail
  • Chg: The Swoole's dispatch_mode is changed to 3 by default
  • Chg: The original Response::getBody() is now renamed to Response::getPayload()
  • Chg: Removed PHP 5.6 support
  • Bug: Null should not be encoded in response
Source: README.md, updated 2018-06-23