Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dazzle-php/dazzle

Next-Gen Async Library for PHP
https://github.com/dazzle-php/dazzle

async dazzle php php-lib php7

Last synced: 4 days ago
JSON representation

Next-Gen Async Library for PHP

Awesome Lists containing this project

README

        

# Dazzle Project

[![License](https://poser.pugx.org/kraken-php/framework/license)](https://packagist.org/packages/kraken-php/framework)

> Introducing Next-Gen Async PHP Today !





## Description

Dazzle Project is an open-source movement and a set of libraries designed specially for the purpose of allowing developers to write non-blocking, asynchronous code in PHP. Dazzle provides a variety of straight-forward, yet powerful components to ensure the implementation of such architecture will be possible in any application easily and rapidly. The project aims to create the complete asynchronous, environment with all the tools necessary to build working applications from the scratch. All of the packages included are interoperable with each other, secure, effective and efficient. Each package is provided with a set of working examples, tests and well-formed documentation on at least minimum required level.

## Components

Dazzle is a set of libraries meaning that each component can be required by your application indepentently. The current releases provides following packages:

| Component | Status | Quality | Coverage | Version | Download |
| :--- | :---: | :---: | :---: | :---: | :---: |
| # [Dazzle\Cache](https://github.com/dazzle-php/cache) | [![Build Status](https://travis-ci.org/dazzle-php/cache.svg)](https://travis-ci.org/dazzle-php/cache) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/cache/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/cache/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/cache/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/cache/?branch=master) | __WIP__ | [Download](https://github.com/dazzle-php/cache/releases) |
| # [Dazzle\Channel](https://github.com/dazzle-php/channel) | [![Build Status](https://travis-ci.org/dazzle-php/channel.svg)](https://travis-ci.org/dazzle-php/channel) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/channel/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/channel/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/channel/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/channel/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/channel/v/stable)](https://packagist.org/packages/dazzle-php/channel) | [Download](https://github.com/dazzle-php/channel/releases) |
| # [Dazzle\Channel-Socket](https://github.com/dazzle-php/channel-socket) | [![Build Status](https://travis-ci.org/dazzle-php/channel-socket.svg)](https://travis-ci.org/dazzle-php/channel-socket) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/channel-socket/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/channel-socket/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/channel-socket/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/channel-socket/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/channel-socket/v/stable)](https://packagist.org/packages/dazzle-php/channel-socket) | [Download](https://github.com/dazzle-php/channel-socket/releases) |
| # [Dazzle\Channel-Zmq](https://github.com/dazzle-php/channel-zmq) | [![Build Status](https://travis-ci.org/dazzle-php/channel-zmq.svg)](https://travis-ci.org/dazzle-php/channel-zmq) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/channel-zmq/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/channel-zmq/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/channel-zmq/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/channel-zmq/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/channel-zmq/v/stable)](https://packagist.org/packages/dazzle-php/channel-zmq) | [Download](https://github.com/dazzle-php/channel-zmq/releases) |
| # [Dazzle\Event](https://github.com/dazzle-php/event) | [![Build Status](https://travis-ci.org/dazzle-php/event.svg)](https://travis-ci.org/dazzle-php/event) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/event/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/event/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/event/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/event/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/event/v/stable)](https://packagist.org/packages/dazzle-php/event) | [Download](https://github.com/dazzle-php/event/releases) |
| # [Dazzle\Filesystem](https://github.com/dazzle-php/filesystem) | [![Build Status](https://travis-ci.org/dazzle-php/filesystem.svg)](https://travis-ci.org/dazzle-php/filesystem) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/filesystem/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/filesystem/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/filesystem/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/filesystem/?branch=master) | __WIP__ | [Download](https://github.com/dazzle-php/filesystem/releases) |
| # [Dazzle\Loop](https://github.com/dazzle-php/loop) | [![Build Status](https://travis-ci.org/dazzle-php/loop.svg)](https://travis-ci.org/dazzle-php/loop) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/loop/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/loop/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/loop/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/loop/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/loop/v/stable)](https://packagist.org/packages/dazzle-php/loop) | [Download](https://github.com/dazzle-php/loop/releases) |
| # [Dazzle\Mysql](https://github.com/dazzle-php/mysql) | [![Build Status](https://travis-ci.org/dazzle-php/mysql.svg)](https://travis-ci.org/dazzle-php/mysql) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/mysql/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/mysql/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/mysql/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/mysql/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/mysql/v/stable)](https://packagist.org/packages/dazzle-php/mysql) | [Download](https://github.com/dazzle-php/mysql/releases) |
| # [Dazzle\Promise](https://github.com/dazzle-php/promise) | [![Build Status](https://travis-ci.org/dazzle-php/promise.svg)](https://travis-ci.org/dazzle-php/promise) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/promise/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/promise/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/promise/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/promise/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/promise/v/stable)](https://packagist.org/packages/dazzle-php/promise) | [Download](https://github.com/dazzle-php/promise/releases) |
| # [Dazzle\Redis](https://github.com/dazzle-php/redis) | [![Build Status](https://travis-ci.org/dazzle-php/redis.svg)](https://travis-ci.org/dazzle-php/redis) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/redis/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/redis/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/redis/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/redis/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/redis/v/stable)](https://packagist.org/packages/dazzle-php/redis) | [Download](https://github.com/dazzle-php/redis/releases) |
| # [Dazzle\Socket](https://github.com/dazzle-php/socket) | [![Build Status](https://travis-ci.org/dazzle-php/socket.svg)](https://travis-ci.org/dazzle-php/socket) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/socket/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/socket/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/socket/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/socket/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/socket/v/stable)](https://packagist.org/packages/dazzle-php/socket) | [Download](https://github.com/dazzle-php/socket/releases) |
| # [Dazzle\SSH](https://github.com/dazzle-php/ssh) | [![Build Status](https://travis-ci.org/dazzle-php/ssh.svg)](https://travis-ci.org/dazzle-php/ssh) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/ssh/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/ssh/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/ssh/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/ssh/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/ssh/v/stable)](https://packagist.org/packages/dazzle-php/ssh) | [Download](https://github.com/dazzle-php/ssh/releases) |
| # [Dazzle\Stream](https://github.com/dazzle-php/stream) | [![Build Status](https://travis-ci.org/dazzle-php/stream.svg)](https://travis-ci.org/dazzle-php/stream) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/stream/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/stream/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/stream/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/stream/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/stream/v/stable)](https://packagist.org/packages/dazzle-php/stream) | [Download](https://github.com/dazzle-php/stream/releases) |
| # [Dazzle\Throwable](https://github.com/dazzle-php/throwable) | [![Build Status](https://travis-ci.org/dazzle-php/throwable.svg)](https://travis-ci.org/dazzle-php/throwable) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/throwable/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/throwable/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/throwable/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/throwable/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/throwable/v/stable)](https://packagist.org/packages/dazzle-php/throwable) | [Download](https://github.com/dazzle-php/throwable/releases) |
| # [Dazzle\Util](https://github.com/dazzle-php/util) | [![Build Status](https://travis-ci.org/dazzle-php/util.svg)](https://travis-ci.org/dazzle-php/util) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/util/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/util/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/util/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/util/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/util/v/stable)](https://packagist.org/packages/dazzle-php/util) | [Download](https://github.com/dazzle-php/util/releases) |
| # [Dazzle\Zmq](https://github.com/dazzle-php/zmq) | [![Build Status](https://travis-ci.org/dazzle-php/zmq.svg)](https://travis-ci.org/dazzle-php/zmq) | [![Code Quality](https://scrutinizer-ci.com/g/dazzle-php/zmq/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/zmq/?branch=master) | [![Code Coverage](https://scrutinizer-ci.com/g/dazzle-php/zmq/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dazzle-php/zmq/?branch=master) | [![Latest Stable Version](https://poser.pugx.org/dazzle-php/zmq/v/stable)](https://packagist.org/packages/dazzle-php/zmq) | [Download](https://github.com/dazzle-php/zmq/releases) |

## Requirements

* PHP-5.6 or PHP-7.0+,
* UNIX or Windows OS,
* Additional constraints based on which components you do plan to use.

## Installation

Dazzle components can be installed separately, allowing you to build your own technology stack. To install any of them, simply visit their repositories and follow the installation instructions posted there. Some of the packages can be used instantly with event minimal configuration of PHP, some require additional libraries.

## Versioning

Versioning of Dazzle libraries is being shared between all packages included in [Dazzle Project](https://github.com/dazzle-php/dazzle). That means the releases are being made concurrently for all of them. On one hand this might lead to "empty" releases for some packages at times, but don't worry. In the end it is far much easier for contributors to maintain and -- what's the most important -- much more straight-forward for users to understand the compatibility and inter-operability of the packages.

## Contributing

Thank you for considering contributing to Dazzle Project! To contribue visit the repository of the package you would like to introduce changes to, read the attached contributing guide and create PR. To contribute with the new, non-existing repository, contact author directly using the information provided in [composer.json](https://github.com/dazzle-php/dazzle/blob/master/composer.json) file.

## License

Dazzle Project is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT). The documentation is provided under [FDL-1.3 license](https://www.gnu.org/licenses/fdl-1.3.en.html).

## Going Further

Whenever you feel your projects using Dazzle start to become huge and complicated you might find yourself in a need of a tool that provides more possibilites than library can. If that happens, don't worry and try the [Kraken Framework](https://github.com/kraken-php/framework). It is fully asynchronous and distributed framework working on top of dazzle libraries that was created to contain most of the boilerplate and implement solutions which you need when creating services and service-oriented applications.








"Everything is possible. The impossible just takes longer." ― Dan Brown