tales-from-a-dev / tailwind-merge-php
TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them
Installs: 117
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/tales-from-a-dev/tailwind-merge-php
Requires
- php: >=8.1
- psr/simple-cache: ^3.0
- symfony/string: ^6.4 || ^7.0 || ^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.89
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^10.5
README
Note
This project is a fork from tailwind-merge by Sandro Gehri. Read the UPGRADE guide for upgrading to this package.
TailwindMerge for PHP allows you to merge multiple Tailwind CSS classes and automatically resolves conflicts between classes by removing classes conflicting with a class defined later.
A PHP port of tailwind-merge by dcastil.
Supports Tailwind v4.0 up to v4.1
Documentation
The bulk of the documentation is stored in the docs directory of this bundle:
Table of Contents
Credits
License
This package is under the MIT license.
For the whole copyright, see the LICENSE file distributed with this source code.