tales-from-a-dev/tailwind-merge-php
TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them
Maintainers
Package info
github.com/tales-from-a-dev/tailwind-merge-php
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
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 48ecbb5c87ebcc521a344a6d3bfeec9720af00da
- Sandro Gehri <sandrogehri.woop@gmail.com>
- Romain Monteil <monteil.romain.woop@gmail.com>
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.
