Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 748 Bytes

README.md

File metadata and controls

37 lines (28 loc) · 748 Bytes

Example of an Isomorphic React application in PHP

This is a simple example to create an isomorphic React application in PHP.

Getting started

To launch the project, you need:

Installation

Clone the repository and enter the main directory.

Install node dependencies by running:

npm install

Then install composer dependencies by running:

composer install

Finally, build the React bundle by running:

npm run make

Launching the server

To launch the server, run:

php -S localhost:8080

Access the main application here: http://localhost:8080/app/php