tales-from-a-dev/twig-tailwind-extra
Twig extension that adds Tailwind helpers to your templates. Includes a tailwind_merge() filter powered by tailwind-merge-php to intelligently combine Tailwind CSS class strings and resolve conflicts. Requires PHP 8.1+, Twig 3+, Tailwind 4+.
This extension provides Twig filters for Tailwind.
The following filters are available
tailwind_merge(): Integration of tailwind-merge-phpThe bulk of the documentation is stored in the docs directory of this bundle:
This extension is under the MIT license.
For the whole copyright, see the LICENSE file distributed with this source code.
How can I help you explore Laravel packages today?