tales-from-a-dev/tailwind-merge-php

TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them

Maintainers

👁 ker0x

Package info

github.com/tales-from-a-dev/tailwind-merge-php

pkg:composer/tales-from-a-dev/tailwind-merge-php

Statistics

Installs: 380 375

Dependents: 8

Suggesters: 0

Stars: 12

Open Issues: 1

v0.3.0 2026-05-11 09:52 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 48ecbb5c87ebcc521a344a6d3bfeec9720af00da

  • Sandro Gehri <sandrogehri.woop@gmail.com>
  • Romain Monteil <monteil.romain.woop@gmail.com>

phpclassesmergetailwindcss

This package is auto-updated.

Last update: 2026-06-27 00:16:30 UTC


README

Note

This project is a fork from tailwind-merge by Sandro Gehri. Read the UPGRADE guide for upgrading to this package.

👁 Tests
👁 PHP Version
👁 Tailwind Version
👁 Packagist Version
👁 License

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.3

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.