README

A Javascript UI application skeleton for PHP project

Instead of PHP's Template Engine, Javascript on the server side or the client side is responsible for creating the view. Server-side rendering is done with V8Js or Node.js.
Redux React example code is included, but you can freely select the JS template engine or UI framework.

New installation

When creating it as a package and using it from a PHP project add that package to dependence.
Since you can manage versions by UI yourself, it is easy to do UI dependency management from PHP projects and parallel work.

$app is the application name, corresponding to the file public/build/dist/{$app}.bundle.js.
$initialState is the initial state of the JS application (in the case of the template engine, it is the value assigned to the template)
$ssrMetas is the value passed in SSR only.

Save the setting file with an arbitrary name, You select it on the screen and execute it.