dereuromark / cakephp-tailwind-ui
Tailwind CSS / DaisyUI helpers for CakePHP forms, pagination, flash messages, and more.
Package info
github.com/dereuromark/cakephp-tailwind-ui
Type:cakephp-plugin
pkg:composer/dereuromark/cakephp-tailwind-ui
Requires
- php: >=8.2
- cakephp/cakephp: ^5.2
Requires (Dev)
- php-collective/code-sniffer: dev-master as 0.4.6
- phpunit/phpunit: ^11.5 || ^12.1 || ^13.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Tailwind CSS and DaisyUI view helpers for CakePHP forms, pagination, flash messages, and navigation.
Read the documentation website, starting with Installation and Getting started.
Preview
$this->Form->control(), $this->Paginator->links(), $this->Flash->render(), and $this->Html->badge() rendered with the default DaisyUI preset:
![]() |
![]() |
![]() |
![]() |
See the screenshot gallery for both presets.
Helpers
| Helper | Description |
|---|---|
| FormHelper | Text, select, checkbox, radio, switch, textarea, file, range, input groups, horizontal layout |
| PaginatorHelper | links() method with join/flex container |
| FlashHelper | Alert rendering with icons |
| BreadcrumbsHelper | Breadcrumb navigation |
| HtmlHelper | badge(), alert(), and icon() methods |
Class Map Presets
| Preset | Framework | Usage |
|---|---|---|
daisyui (default) |
DaisyUI | No config needed |
ktui |
KTUI | Configure::write('TailwindUi.classMap', 'ktui') |
Keep custom presets in your application and pass their returned array to TailwindUi.classMap; see the preset guide.



