yogijowo / laravel12-react-starterkit
Starter Kit Laravel 12 + React + Inertia + Tailwind + ShadCN UI + Spatie Permission
Fund package maintenance!
yogijowo
Ko Fi
saweria.co/yogijowo
Installs: 60
Dependents: 0
Suggesters: 0
Security: 0
Stars: 74
Watchers: 0
Forks: 16
Open Issues: 0
Language:TypeScript
Type:project
Requires
- php: ^8.2
- inertiajs/inertia-laravel: ^2.0
- laravel/framework: ^12.0
- laravel/tinker: ^2.10.1
- spatie/laravel-activitylog: ^4.10
- spatie/laravel-backup: ^9.3
- spatie/laravel-medialibrary: ^11.13
- spatie/laravel-permission: ^6.20
- tightenco/ziggy: ^2.4
Requires (Dev)
- fakerphp/faker: ^1.23
- laravel/pail: ^1.2.2
- laravel/pint: ^1.18
- laravel/sail: ^1.41
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.6
- phpunit/phpunit: ^11.5.3
README
π Laravel 12 + React Starter Kit
A modern and flexible starter kit built with Laravel 12, React (Inertia.js + TypeScript), TailwindCSS, and ShadCN UI v4. Designed to accelerate secure, responsive, and customizable dashboard application development.
β¨ Features
- π Full authentication (login, register, reset password)
- π₯ Role & Permission Management (Spatie Laravel Permission)
- π Dynamic Sidebar & Menus based on role & permission
- π§© Drag & drop menu management (nested, reorder)
- βοΈ App settings (name, logo, theme color, SEO)
- π¨ ShadCN UI v4 + TailwindCSS modern design
- π Dark/Light mode support
- π Dynamic access protection via
CheckMenuPermission
middleware - β οΈ Custom 403 Error Page (React-based)
- πΎ Primary color configuration via DB
--primary
- πͺͺ Audit Log to track user activity
- π¦ Manual & automatic database backup system
- ποΈ File Manager with folder & file operations
π§± 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 |
Layout | Dynamic Sidebar + Header |
π§ Installation & Setup
# Create project composer create-project yogijowo/laravel12-react-starterkit my-app cd my-app # 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
- Build Frontend for Production
npm install npm run build
- Run Laravel in Production Mode
php artisan config:cache php artisan route:cache php artisan view:cache
- Set File Permissions
chmod -R 775 storage bootstrap/cache
chown -R www-data:www-data .
- Serve with Web Server (Nginx/Apache) pointing to
public/
folder.
πΌοΈ Application Screenshots
π Dashboard (light)
π Dashboard (dark)
π User Management
π Role Management
π Permission Management
π Menu Manager
π App Settings
π Audit Logs
π Database Backup
π File Manager
β Manual Test Checklist
Feature | Status |
---|---|
Authentication (Login) | β |
CRUD User | β |
CRUD Role & Permission | β |
Dynamic Menu + Sidebar | β |
Access Protection (403) | β |
Drag & Drop Menu Sorting | β |
Theme Color via DB | β |
Dark Mode Support | β |
Audit Logs Functionality | β |
Database Backup | β |
File Manager | β |
β Support This Project
If you find this starter kit helpful, consider supporting me:
- π Donate via Ko-fi
- π§§ Donate via Saweria
- π Share this repo with others
Your support helps me keep improving this open-source project. Thank you! π
π License
Released under the MIT License. Feel free to use it for personal or commercial projects.
π΅πΈ Free Palestine
"You donβt have to be Palestinian to stand for Palestine. You just have to be human."
We stand with the people of Palestine. We reject colonialism, injustice, and violence. Freedom is a human right. FREE PALESTINE π΅πΈ
Created with β€οΈ by @yogijowo