Skip to content
Projets

À propos

Framework web et serveur d’applications PHP hautes performances.

Développement web et applicatif

Comment ces chiffres sont mesurés

What you can do

  • Powered by Swoole, serve requests in PHP directly
  • Dependency Injection & Service Locator
  • Routing for Restful APIs
  • Authentication & Authorization abstraction

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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.

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

Participating

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

You may participate in the following ways:

Author

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

License

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

Explorer des projets similaires

Chargement…