PHPackages                             islesurlasorguetourisme/daisyui-form-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. islesurlasorguetourisme/daisyui-form-bundle

ActiveSymfony-bundle

islesurlasorguetourisme/daisyui-form-bundle
===========================================

A Symfony form theme bundle that provides seamless DaisyUI integration for automatically generated forms

v0.2(5mo ago)2861[1 PRs](https://github.com/Isle-sur-la-Sorgue-Tourisme/daisyui-form-bundle/pulls)MITTwigPHP &gt;=8.1CI passing

Since Nov 12Pushed 5mo agoCompare

[ Source](https://github.com/Isle-sur-la-Sorgue-Tourisme/daisyui-form-bundle)[ Packagist](https://packagist.org/packages/islesurlasorguetourisme/daisyui-form-bundle)[ Docs](https://github.com/islesurlasorguetourisme/daisyui-form-bundle)[ RSS](/packages/islesurlasorguetourisme-daisyui-form-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (8)Versions (4)Used By (0)

[![ci](https://github.com/Isle-sur-la-Sorgue-Tourisme/daisyui-form-bundle/actions/workflows/ci.yml/badge.svg)](https://github.com/Isle-sur-la-Sorgue-Tourisme/daisyui-form-bundle/actions/workflows/ci.yml)[![Packagist Version](https://camo.githubusercontent.com/a05dd428068b9e6ea97700c44445876ebe3e1c80e5030d5320435360bffdde65/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69736c657375726c61736f72677565746f757269736d652f646169737975692d666f726d2d62756e646c653f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/a05dd428068b9e6ea97700c44445876ebe3e1c80e5030d5320435360bffdde65/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69736c657375726c61736f72677565746f757269736d652f646169737975692d666f726d2d62756e646c653f7374796c653d666f722d7468652d6261646765)[![SF Version](https://camo.githubusercontent.com/fe775ac08c4b9fdff0c8917ea3b4be3889d8d8ae354f373ab0eeb739931d6a41/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d253345253344362e342d3030303f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/fe775ac08c4b9fdff0c8917ea3b4be3889d8d8ae354f373ab0eeb739931d6a41/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d253345253344362e342d3030303f7374796c653d666f722d7468652d6261646765)[![PHP Version](https://camo.githubusercontent.com/32f92c123238cda9e6ea70bd553e28012095e121b5d26a44a5a1eed9378dcf67/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d382e312d3466356239332e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/32f92c123238cda9e6ea70bd553e28012095e121b5d26a44a5a1eed9378dcf67/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d382e312d3466356239332e7376673f7374796c653d666f722d7468652d6261646765)[![DaisyUi Version](https://camo.githubusercontent.com/c0f69ddf784a0572981401f6d4d4b4a8159af902db310bcbb83275c96f1315cf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646169737955692d2533453d352e302d4646434532412e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/c0f69ddf784a0572981401f6d4d4b4a8159af902db310bcbb83275c96f1315cf/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646169737955692d2533453d352e302d4646434532412e7376673f7374796c653d666f722d7468652d6261646765)

\[WIP\] DaisyUI Form Bundle
===========================

[](#wip-daisyui-form-bundle)

A Symfony bundle that provides partial form theme for [DaisyUI](https://daisyui.com/) components.

Features
--------

[](#features)

- ✅ **Partial DaisyUI component support** - Form field types styled with DaisyUI classes
- 🎨 **Tailwind CSS integration** - Works seamlessly with Tailwind CSS utility classes
- 📱 **Responsive design** - Mobile-friendly form layouts out of the box
- ♿ **Accessible** - Maintains Symfony's accessibility features

Supported Form Types
--------------------

[](#supported-form-types)

- Text inputs, textareas, and all standard HTML5 input types
- Select dropdowns (with autocomplete support)
- Checkboxes and radio buttons
- Date, time, and datetime pickers
- Money and percent inputs
- File uploads
- Submit and reset buttons
- And more...

Installation
------------

[](#installation)

### 1. Install the bundle

[](#1-install-the-bundle)

```
composer require islesurlasorguetourisme/daisyui-form-bundle
```

### 2. Enable the bundle

[](#2-enable-the-bundle)

If you're using Symfony Flex, the bundle is automatically enabled. Otherwise, add it to `config/bundles.php`:

```
return [
    // ...
    Islesurlasorguetourisme\DaisyuiFormBundle\DaisyuiFormBundle::class => ['all' => true],
];
```

### 3. Configure the form theme

[](#3-configure-the-form-theme)

Add the form theme to your `config/packages/twig.yaml`:

```
twig:
    form_themes:
        - '@DaisyuiForm/form/daisyui_layout.html.twig'
```

### 4. Ensure DaisyUI is installed

[](#4-ensure-daisyui-is-installed)

Make sure you have DaisyUI and Tailwind CSS properly configured in your project:

```
npm install -D daisyui@latest
```

**style.css**

```
@import "tailwindcss";
@plugin "daisyui";
```

Usage
-----

[](#usage)

Once installed and configured, all your Symfony forms will automatically use DaisyUI styling:

```
// In your controller
$form = $this->createFormBuilder()
    ->add('name', TextType::class)
    ->add('email', EmailType::class)
    ->add('message', TextareaType::class)
    ->add('send', SubmitType::class)
    ->getForm();
```

```
{# In your template #}
{{ form(form) }}
```

That's it! Your form will be rendered with beautiful DaisyUI components.

### Per-form theme override

[](#per-form-theme-override)

To use the DaisyUI theme for a specific form:

```
{% form_theme form '@DaisyuiForm/form/daisyui_layout.html.twig' %}
{{ form(form) }}
```

Customization
-------------

[](#customization)

### Override specific blocks

[](#override-specific-blocks)

Create your own form theme file and extend the DaisyUI theme:

```
{% extends '@DaisyuiForm/form/daisyui_layout.html.twig' %}

{% block form_row %}
    {# Your custom form row markup #}
    {{ parent() }}
{% endblock %}
```

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

License
-------

[](#license)

This bundle is released under the MIT License. See the LICENSE file for details.

Credits
-------

[](#credits)

- Developed and maintained by [Isle sur la Sorgue Tourisme](https://github.com/islesurlasorguetourisme)
- Built for [Symfony](https://symfony.com/)
- Styled with [DaisyUI](https://daisyui.com/)

Support
-------

[](#support)

If you encounter any issues or have questions:

- Open an issue on [GitHub](https://github.com/islesurlasorguetourisme/daisyui-form-bundle/issues)
- Check the [Symfony Form documentation](https://symfony.com/doc/current/forms.html)
- Refer to [DaisyUI documentation](https://daisyui.com/components/)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance70

Regular maintenance activity

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

177d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90ecf4b88d9bdabe7afa83da23da715d82813e64b52787727dad8dcd290de572?d=identicon)[enzobrg](/maintainers/enzobrg)

---

Top Contributors

[![enzobrigati](https://avatars.githubusercontent.com/u/48072357?v=4)](https://github.com/enzobrigati "enzobrigati (9 commits)")

---

Tags

symfonybundlethemeformDaisyUI

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/islesurlasorguetourisme-daisyui-form-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/islesurlasorguetourisme-daisyui-form-bundle/health.svg)](https://phpackages.com/packages/islesurlasorguetourisme-daisyui-form-bundle)
```

###  Alternatives

[tales-from-a-dev/flowbite-bundle

A Symfony form theme for Flowbite

86252.8k2](/packages/tales-from-a-dev-flowbite-bundle)[qossmic/rich-model-forms-bundle

Provides additional data mapper options that ease the use of the Symfony Form component with rich models.

218278.7k](/packages/qossmic-rich-model-forms-bundle)[isometriks/spam-bundle

Provides spam protection for Symfony forms

46200.6k1](/packages/isometriks-spam-bundle)[nucleos/antispam-bundle

This bundle provides some basic features to reduce spam in symfony forms.

52105.1k](/packages/nucleos-antispam-bundle)[norberttech/aceeditor-bundle

Bundle that integrate excellent JavaScript ace editor into Symfony Form.

28310.8k](/packages/norberttech-aceeditor-bundle)[presta/image-bundle

PrestaImageBundle is a Symfony bundle providing tools to resize uploaded and remote images before sending them through a classic form.

24155.9k](/packages/presta-image-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
