gehrisandro/tailwind-merge-laravel
TailwindMerge for Laravel merges multiple Tailwind CSS classes by automatically resolving conflicts between them
v1.4.0
1.0M downloads/mo
#2950 most downloaded on Packagist
gehrisandro/tailwind-merge-laravel
What this package is like to depend on
Last release 5 months ago
21 Mar 2026
Release timing varies
gaps range from 2 months to 13 months
Nearly every release is documented
notes for 9 of 10 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
10 releases · first in 2023
1 release in the last 12 months
see the full history below
Release timeline
9 releases · Jun 2023 to Mar 2026Releases
latest 10-
v1.4.021 Mar 2026Release notes
Open source → -
v1.3.024 Feb 2025Release notes
Open source →What's Changed
- Laravel 12.x Compatibility by @laravel-shift in #20
New Contributors
- @laravel-shift made their first contribution in #20
Full Changelog: v1.2.0...v1.3.0
-
v1.2.012 Mar 2024Release notes
Open source →What's Changed
- Support for Laravel 11 by @heyjorgedev in #15
New Contributors
- @heyjorgedev made their first contribution in #15
Full Changelog: v1.1.0...v1.2.0
-
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 cache support
- Add twMergeFor and withoutTwMergeClasses on the ComponentAttributesBag
What's Changed
- Add empty classGroups configuration
Changed underlying gehrisandro/tailwind-merge-php package version from 0.0.1 to 1.0.0 containing the following updates:
What's New
- 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.2.1...v1.0.0
Release notes
Open source →Added
- Add cache support
Changed
- Add empty
classGroupsconfiguration
Docs
- Add documentation for configuration
- Add documentation for
twMergeFor()
-
v0.2.110 Aug 2023 -
v0.2.009 Aug 2023Release notes
Open source →Added
- Add
twMergeForandwithoutTwMergeClasseson the ComponentAttributesBag
- Add
-
v0.1.016 Jun 2023 -
v0.0.2no dateNothing published for this version
-
v0.0.116 Jun 2023