gehrisandro/tailwind-merge-php
TailwindMerge for PHP merges multiple Tailwind CSS classes by automatically resolving conflicts between them
v1.2.0
2.0M downloads/mo
#2400 most downloaded on Packagist
gehrisandro/tailwind-merge-php
What this package is like to depend on
Last release 5 months ago
21 Mar 2026
Release timing varies
gaps range from 3 months to 1.8 years
Nearly every release is documented
notes for 6 of 6 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
6 releases · first in 2023
1 release in the last 12 months
see the full history below
Release timeline
6 releases · Jun 2023 to Mar 2026Releases
latest 6-
v1.2.021 Mar 2026Release notes
Open source →What's Changed
- Prepare for latest php versions by @gehrisandro in #20
Full Changelog: v1.1.2...v1.2.0
-
v1.1.221 May 2024Release notes
Open source →What's Changed
- Fix typing of the arguments of the TailwindMerge::merge function in interface by @mr-chetan in #10
- fix merging different arbitrary variables - fixes #8 by @gehrisandro in #12
New Contributors
- @mr-chetan made their first contribution in #10
Full Changelog: v1.1.1...v1.1.2
-
v1.1.116 May 2024Release notes
Open source →What's Changed
- Fix arbitrary shadow with inset not recognized
- Fix non-conflicting arbitrary border color and width
Full Changelog: v1.1.0...v1.1.1
Release notes
Open source →Fixed
- Fix arbitrary shadow with inset not recognized
- Fix non-conflicting arbitrary border color and width
-
v1.1.010 Jan 2024Release notes
Open source →Added
- Add support for Tailwind CSS v3.4
Fixed
- Fix display class not removed when it precedes line-clamp class
-
v1.0.018 Oct 2023Release notes
Open source →What's New
- Add factory method to provide an optional PSR-16 cache
- Add missing class col-span-full
- Allow length and percentage labels for arbitrary sizes
- Add configuration documentation
What's Changed
- Remove illuminate/support dependency - implements #3
- Refactor validators
- Replace ArbitraryUrlValidator with ArbitraryImageValidator
- Split arbitrary and non-arbitrary validators into distinct validators
- Split touch class group into touch, touch-x, touch-y and touch-pz
- Tests against PHP 8.3
- Fix ambiguous arbitrary values
Full Changelog: v0.0.1...v1.0.0
Release notes
Open source →Added
- Add factory method to provide an optional PSR-16 cache
- Add missing class col-span-full
- Allow length and percentage labels for arbitrary sizes
- Add configuration documentation
Changed
- Remove illuminate/support dependency - implements #3
- Refactor validators
- Replace ArbitraryUrlValidator with ArbitraryImageValidator
- Split arbitrary and non-arbitrary validators into distinct validators
- Ssplit touch class group into touch, touch-x, touch-y and touch-pz
- Tests against PHP 8.3
Fixed
- fix ambiguous arbitrary values
-
v0.0.116 Jun 2023