Symfony ❤️ Inertia.js

A quick way to setup a new Symfony Project with Inertia.js and React.js.

Note For the script to work properly, the Symfony Client and npm must be available on your system.

Option 1: Using Webpack Encore

Minimal setup (without home/about pages and menu)

curl -Ls https://dub.sh/symfony-inertia-minimal-setup | bash -s -- myproject

Full setup (with menu and home/about pages)

curl -Ls https://dub.sh/symfony-inertia-full-setup | bash -s -- myproject

myproject will have to be replaced by the name of yout project.

Option 2: Using Vite

Minimal setup (without home/about pages and menu)

curl -Ls https://dub.sh/symfony-inertia-minimal-vite-setup | bash -s -- myproject

Full setup (with menu and home/about pages)

curl -Ls https://dub.sh/symfony-inertia-full-vite-setup | bash -s -- myproject

myproject will have to be replaced by the name of yout project.