szyron/react-jsx-daisyui-starter-kit
Composer 安装命令:
composer create-project szyron/react-jsx-daisyui-starter-kit
包简介
A React + JSX + DaisyUI starter kit for Laravel with Inertia.js integration.
关键字:
README 文档
README
🚀 Introduction
This is a DaisyUI-powered version of the Laravel React JSX Starter Kit.
It provides a modern and elegant setup for building Laravel applications with a React frontend using Inertia, TailwindCSS 4, and DaisyUI.
Unlike the TypeScript-based versions, this kit uses pure JavaScript (.jsx), making it perfect for developers who prefer simplicity and speed over TypeScript complexity.
It comes preconfigured with Laravel 12, React 19, Inertia 2, TailwindCSS 4, and DaisyUI — giving you everything you need to build beautiful, responsive, and modern web applications.
🎯 Features
✅ React 19 + JSX – No TypeScript, just JavaScript
✅ Laravel 12 – The latest version of Laravel for a powerful backend
✅ Inertia 2 – Seamless single-page app experience
✅ TailwindCSS 4 + DaisyUI – Fast and elegant UI styling
✅ Vite – Super-fast development with hot module replacement
✅ Testing Support – PHPUnit & Pest preinstalled
✅ Zero Configuration Required – Just install and start coding!
🛠 Installation
1️⃣ Create a new Laravel app using the starter kit
laravel new --using=Szyron/react-jsx-daisyui-starter-kit react-daisyui-app
2️⃣ Install Dependencies
cd react-daisyui-app
composer install
npm install
3️⃣ Setup Environment
Copy the .env.example environment file and generate your application key:
cp .env.example .env php artisan key:generate
4️⃣ Run Database Migrations
php artisan migrate --seed
5️⃣ Install DaisyUI
DaisyUI is a TailwindCSS plugin that adds a beautiful component library to your project.
npm install tailwindcss@latest @tailwindcss/vite@latest daisyui@latest
More info about DaisyUI
6️⃣ Import DaisyUI
To enable DaisyUI components in your project, you need to import the plugin in your main CSS file.
Open resources/css/app.css and add the following:
/* resources/css/app.css */ /* Tailwind base styles */ @tailwind base; @tailwind components; @tailwind utilities; /* DaisyUI plugin */ @plugin "daisyui";
7️⃣ Start the Development Environment
composer dev
Your app is now running! 🎉
🎨 DaisyUI Integration
This starter kit includes DaisyUI, a powerful TailwindCSS plugin that provides a wide range of prebuilt, customizable UI components.
You can easily use DaisyUI components throughout your React JSX pages and components.
Example:
export default function Example() { return ( <div className="p-4"> <button className="btn btn-primary">Hello DaisyUI!</button> </div> ); }
📚 Official Documentation
You can find the official documentation for:
Documentation for all Laravel starter kits can be found on the Laravel website. Get started with daisyUI and explore its full documentation at DaisyUI website
🤝 Contributing
Thank you for considering contributing to this starter kit! Please refer to the Laravel contribution guide for best practices.
📜 Code of Conduct
Please review and abide by the Laravel Code of Conduct to ensure our community remains welcoming to everyone.
⚖️ License
The Laravel + React JSX + DaisyUI Starter Kit is open-sourced software licensed under the MIT license.
👏 Credits
Original Laravel React JSX Starter Kit by Yazid KHALDI
DaisyUI Integration and Enhancement by Szyron
Happy coding! 🚀
szyron/react-jsx-daisyui-starter-kit 适用场景与选型建议
szyron/react-jsx-daisyui-starter-kit 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 2, 最近一次更新时间为 2025 年 10 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「laravel」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 szyron/react-jsx-daisyui-starter-kit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 szyron/react-jsx-daisyui-starter-kit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 szyron/react-jsx-daisyui-starter-kit 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Alfabank REST API integration
High-performance, opinionated PHP 8 web framework with O(1) routing, parallel async MySQL, type-safe asset bridge, and React-island frontend
Laravel package for Accurate Online API integration.
The skeleton application for the Geoffrey agent framework.
Shared RCX Laravel DataTables UI and configuration helpers.
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-25