bladeuix/daisyui
最新稳定版本:v0.1.0-alpha.4
Composer 安装命令:
composer require bladeuix/daisyui
包简介
A Laravel blade component library based on daisyUI.
README 文档
README
BladeUIX DaisyUI is a Laravel package for adding daisyUI components to your Blade templates.
Requirements
| Version | PHP | Laravel |
|---|---|---|
| 1.x | 8.2.x, 8.3.x, 8.4.x, 8.5.x | 12.x, 13.x |
Installation
Prerequisites
You need to have daisyUI installed in your project. If you haven't already, you can install it via your terminal:
npm i -D daisyui@latest
Package Installation
Install the BladeUIX DaisyUI package via Composer:
composer require bladeuix/daisyui
Configure Tailwind CSS
- Ensure that
daisyuitailwindcss plugin in installed. ../../vendor/bladeuix/daisyui/src/View/Components/*.phpis included in tailwindcss scan files.
@import "tailwindcss"; /*Your other @source...*/ @source "../../vendor/bladeuix/daisyui/src/View/Components/*.php"; @plugin "daisyui"; /*Your other css utilities...*/
Basic Usage
Once everything is installed and configured, you can use the components in your Blade templates:
<x-daisyui::button color="primary"> Click Me </x-daisyui::button>
Documentation
Full documentation is available at bladeuix.njoguamos.me.ke/daisyui.
Testing
composer test
Changelog
Please see GitHub Releases for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-12