Download the PHP package antidot-fw/react-framework without Composer
On this page you can find all versions of the php package antidot-fw/react-framework. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download antidot-fw/react-framework
More information about antidot-fw/react-framework
Files in antidot-fw/react-framework
Package react-framework
Short Description Antidot React Framework
License BSD-2-Clause
Informations about the package react-framework
Antidot React Framework
Requirements
- PHP ^7.4|^8.0
- Antidot Framework
- DriftPHP Server
- React Http
- React Promises
- Ramsey Uuid
Description
This package allows running asynchronous PHP following PSR-15 middleware standard approach.
Install
The preferred way to install this library is using the reactive-antidot-starter
project.
To install it on a existing Antidot Framework Project installation we need to tweak some configurations and replace or create new index.php
file.
Config
- Disable LaminasRequest Handler Runner
- Load Antidot React Config Provider after Antidot Framework provider
Example config from starter project
Default Config:
Usage
It allows executing promises inside PSR-15 and PSR-7 Middlewares and request handlers
PSR-15 Middleware
PSR-7 Request Handler
Server
Two new commands will be added to the Antidot Framework CLI tool, to allow running the application on top of Drift server
server:run
: Run Drift HTTP Serverserver:watch
: Watch Drift HTTP Server for development purposes
All versions of react-framework with dependencies
antidot-fw/framework Version ^1.0
beberlei/assert Version ^3.3
drift/server Version ^0.1.20
psr/container Version ^1.0.0
ramsey/uuid Version ^4.1
react/http Version ^1.2