yogijowo/laravel12-react-starterkit
Composer 安装命令:
composer create-project yogijowo/laravel12-react-starterkit
包简介
Starter Kit Laravel 12 + React + Inertia + Tailwind + ShadCN UI + Spatie Permission
README 文档
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
CheckMenuPermissionmiddleware - ⚠️ 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
yogijowo/laravel12-react-starterkit 适用场景与选型建议
yogijowo/laravel12-react-starterkit 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 449 次下载、GitHub Stars 达 169, 最近一次更新时间为 2025 年 07 月 10 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 「react」 「permission」 「inertia」 「tailwind」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 yogijowo/laravel12-react-starterkit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 yogijowo/laravel12-react-starterkit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 yogijowo/laravel12-react-starterkit 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Async Reactive Postgres Driver for PHP (Non-blocking)
Laravel integration for blade-to-react
A simple, flexible Laravel package for adding polymorphic reactions to any model. React with any text: like, love, care, or anything you want.
This library tries to create a simple promise factory standard while waiting for a psr.
Alfabank REST API integration
统计信息
- 总下载量: 449
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 169
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-10










