2017 © Pedro Peláez
 

library react-express

ReactPHP router written in express.js style

image

kosatyi/react-express

ReactPHP router written in express.js style

  • Tuesday, May 22, 2018
  • by kosatyi
  • Repository
  • 1 Watchers
  • 1 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

ReactExpress

ReactPHP router written in express.js style, (*1)

, (*2)

Installation

System Requirements

PHP 7.1 and later., (*3)

Dependencies

SDK require the following extension in order to work properly:, (*4)

Composer

If you’re using Composer, you can run the following command:, (*5)

composer require kosatyi/react-express

Or add dependency manually in composer.json, (*6)

{
  "require": {
    "kosatyi/react-express":"dev-master"
  }
}

Quick Start

Import library to your project file., (*7)

<?php
require_once 'vendor/autoload.php';
use ReactExpress\Application;
$app = Application::instance();
$app->get('/',function( $app ){
    $app->response->send('Hello World!');
});
$app->listen(8080,'127.0.0.1');

Author

Stepan Kosatyi, stepan@kosatyi.com, (*8)

Stepan Kosatyi, (*9)

The Versions