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

https://github.com/antidot-framework/react-socket-server

Antidot Framework WAMP protocol based react socket server
https://github.com/antidot-framework/react-socket-server

Last synced: 4 months ago
JSON representation

Antidot Framework WAMP protocol based react socket server

Awesome Lists containing this project

README

        

# Antidot React PHP Socket Server

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/badges/build.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/build-status/master)
[![Code Intelligence Status](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)

Adapter that allows running a [WAMP protocol](https://wamp-proto.org) [socket server](http://socketo.me/docs/wamp) in
[Antidot Framework Applications](https://github.com/antidot-framework/antidot-starter).

## Installation:

Using [composer package manager](https://getcomposer.org/download/)

````bash
composer require antidot-fw/react-socket-server:dev-master
````

We have to add the config provider to the framework configuration to load the necessary dependencies, we make sure to
load it after the provider of the framework itself.

````php
getMergedConfig();
````

## Running socket server

We just need to run a console command and we'll have the server up and running.

````bash
bin/console serve:socket:wamp
````