mtiolaksono/laravel12-react-starter

Starter Kit Laravel 12 + React + Inertia + Tailwind + ShadCN UI + Spatie Permission
1
Install
composer require mtiolaksono/laravel12-react-starter
Latest Version:v1.0.0
PHP:^8.2
Maintainer: mtiolaksono

🧱 Tech Stack

Area Technology
Backend Laravel 12
Frontend React 19 + Inertia.js + TypeScript
UI Library ShadCN UI v4
CSS Utility TailwindCSS
Auth Laravel Fortify / Breeze-style
Access Ctrl Spatie Laravel Permission v5
DBMS MySQL / MariaDB / PosgreSQL
Layout Dynamic Sidebar + Header

🔧 Installation & Setup


# Backend setup
composer install

# Configure your database settings in .env
php artisan migrate:fresh --seed

# Frontend setup
npm install

# Running dev
composer run dev

Login using:

Email: admin@admin.com
Password: admin123

🚀 Deployment Guide

  1. Build Frontend for Production
npm install
npm run build
  1. Run Laravel in Production Mode
php artisan config:cache
php artisan route:cache
php artisan view:cache
  1. Set File Permissions
chmod -R 775 storage bootstrap/cache
chown -R www-data:www-data .
  1. Serve with Web Server (Nginx/Apache) pointing to public/ folder.

Created with ❤️ by @mtiolasono