php artisan preset react
snippet in php

laravel react

user6058

composer require laravel/ui

// Generate basic scaffolding...
php artisan ui react

// Generate login / registration scaffolding...
php artisan ui react --auth

php artisan preset react

user6914

install react in laravel:

For Laravel 7+ projects:
composer require laravel/ui
php artisan ui react

For Laravel 5.5+ projects:
php artisan preset react