This is a simple example to create an isomorphic React application in PHP.
To launch the project, you need:
Clone the repository and enter the main directory.
Install node dependencies by running:
npm installThen install composer dependencies by running:
composer installFinally, build the React bundle by running:
npm run makeTo launch the server, run:
php -S localhost:8080Access the main application here: http://localhost:8080/app/php