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
The bulk of the documentation is stored in the docs directory of this bundle:
This package is under the MIT license.
For the whole copyright, see the LICENSE file distributed with this source code.