Search by

dereuromark / cakephp-tailwind-ui

dereuromark

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

Statistics

Installs: 787

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

0.2.3 2026-06-28 10:53 UTC

README

CI Coverage Status Latest Stable Version Minimum PHP Version License Total Downloads Coding Standards

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:

Form controls Articles index
Buttons Alerts

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.

Documentation