tales-from-a-dev/tailwind-merge-php
TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them
v0.4.0
518K downloads/mo
#2570 most downloaded on Packagist
tales-from-a-dev/tailwind-merge-php
What this package is like to depend on
Last release 9 days ago
14 Aug 2026
Ships on a steady schedule
a new release about every 3 months
Nearly every release is documented
notes for 5 of 5 stable releases
Nothing withdrawn
no release was ever pulled
9 months old
5 releases · first in 2025
5 releases in the last 12 months
see the full history below
Release timeline
5 releases · Nov 2025 to Aug 2026Releases
latest 5-
v0.4.014 Aug 2026Release notes
Open source →What's Changed
- Fix PHPStan error in SortModifiers::sort() by @ker0x in #20
- Document architecture in AGENTS.md and add CLAUDE.md by @ker0x in #19
- Widen psr/simple-cache constraint to ^1.0 || ^2.0 || ^3.0 by @michtio in #17
- Improve performances by building the class-map once, instead of on very class lookup by @Kocal in #18
- Add agent skills for version updates and pre-PR checks by @ker0x in #23
- Speed up merge by ~5x and fix five latent correctness bugs by @ker0x in #24
- Cache merge results by default, keeping PSR-16 support by @ker0x in #21
- Remove comments that restate the code and correct the user documentation by @ker0x in #25
New Contributors
Full Changelog: v0.3.0...v0.4.0
-
v0.3.011 May 2026Release notes
Open source → -
v0.2.020 Feb 2026Release notes
Open source → -
v0.1.116 Feb 2026Release notes
Open source →What's Changed
- Improve documentation and update .gitattributes by @ker0x in #11
- Prevent arbitrary font-family and font-weight from merging by @ker0x in #12
- Add PHP 8.5 to CI matrix by @ker0x in #13
Full Changelog: v0.1.0...v0.1.1
-
v0.1.020 Nov 2025Release notes
Open source →What's Changed
- Update namespace by @ker0x in #1
- Replace Pint with PHP-CS-Fixer by @ker0x in #2
- Remove Rector by @ker0x in #3
- Update GitHub workflow, update README, LICENSE and composer.json by @ker0x in #4
- Improve Config::getMergedConfig() perf by @ker0x in #5 (Original PR by @Kocal)
- Switch from Pest to PHPUnit, mark all classes as final by @ker0x in #6
- Move regex constants in ValidatorContract interface by @ker0x in #7
- Add support for Tailwind v4 by @ker0x in #8 (Original PR by @yungifez)
- Add UPGRADE guide and documentation, update README by @ker0x in #9
- Fix README by @ker0x in #10
New Contributors
Full Changelog: https://github.com/tales-from-a-dev/tailwind-merge-php/commits/v0.1.0