Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kosatyi/react-express
ReactPHP router written in express.js style
https://github.com/kosatyi/react-express
composer reactphp reactphp-components
Last synced: about 3 hours ago
JSON representation
ReactPHP router written in express.js style
- Host: GitHub
- URL: https://github.com/kosatyi/react-express
- Owner: kosatyi
- License: mit
- Created: 2018-02-09T16:17:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T19:21:09.000Z (over 1 year ago)
- Last Synced: 2024-03-15T15:34:10.471Z (8 months ago)
- Topics: composer, reactphp, reactphp-components
- Language: PHP
- Homepage: https://kosatyi.com/react-express/
- Size: 158 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# ReactExpress
ReactPHP router written in express.js style
## Installation
### System Requirements
PHP 7.1 and later.
### Dependencies
SDK require the following extension in order to work properly:
- [`curl`](https://secure.php.net/manual/en/book.curl.php)
- [`json`](https://secure.php.net/manual/en/book.json.php)### Composer
If you’re using [Composer](https://getcomposer.org/), you can run the following command:
```cmd
composer require kosatyi/react-express
```Or add dependency manually in `composer.json`
```json
{
"require": {
"kosatyi/react-express":"dev-master"
}
}
```## Quick Start
Import library to your project file.
```php
get('/',function( $app ){
$app->response->send('Hello World!');
});
$app->listen(8080,'127.0.0.1');
```## Author
Stepan Kosatyi, [email protected]
[![Stepan Kosatyi](https://img.shields.io/badge/stepan-kosatyi-purple.svg)](https://kosatyi.com/)