symfonycasts/tailwind-bundle
Integrate Tailwind CSS into Symfony with zero fuss. This bundle adds an easy Tailwind build pipeline (CLI support, watch/build commands), sensible defaults, and smooth asset integration so you can ship modern utility-first styling in Symfony apps quickly.
tailwind:init command by @kbond in https://github.com/SymfonyCasts/tailwind-bundle/pull/96tailwind:update command by @kbond in https://github.com/SymfonyCasts/tailwind-bundle/pull/128Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.13.0...v0.14.0
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.12.0...v0.13.0
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.11.1...v0.12.0
Hey Tailwinder's!
Just a small release that improves how we detect the Tailwind binary.
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.11.0...v0.11.1
Hey Tailwinder's!
When downloading TailwindCSS, we have some detection logic to determine the correct binary based on your system architecture. This logic is hard to test and doesn't work for everyone. So this release adds a binary_platform option to override:
# config/packages/symfonycasts_tailwind.yaml
symfonycasts_tailwind:
# one of: 'linux-arm64', 'linux-arm64-musl', 'linux-x64', 'linux-x64-musl', 'macos-arm64', 'macos-x64', 'windows-x64'
binary_platform: 'linux-x64'
binary_platform option by @Spomky in https://github.com/SymfonyCasts/tailwind-bundle/pull/110binary_platform option by @kbond in https://github.com/SymfonyCasts/tailwind-bundle/pull/111Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.10.1...v0.11.0
Hey Tailwinder's!
Small housekeeping release to prevent using invalid option in TailwindCSS 4.
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.10.0...v0.10.1
Hey Tailwinder's!
Small release that enables downloading the musl binary Tailwind 4.0 provides if your system architecture supports it.
TailwindBinary::getBinaryName() for 4.0 by @kbond in https://github.com/SymfonyCasts/tailwind-bundle/pull/104Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.9.0...v0.10.0
Hey Tailwinder's!
Small release that adds the concept of a strict mode. When not enabled, an exception isn't thrown if you haven't called tailwind:build. On everywhere but the test environment, where you likely don't care about the CSS. This makes it easier to run your tests in a CI environment.
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.8.0...v0.9.0
Hey Tailwinder's!
This release officially adds TailwindCSS v4 support and also fixes some long-standing version mismatch issues. Now, in your config, you must specify one of the following:
binary_version (ie 3.4.17 or 4.0.9)binary, if managing yourself.Not specifying triggers a deprecation and defaults to binary_version: 3.4.17. This is required to ensure all team members, CI, production are all on the exact same version (like composer.lock does for PHP dependencies).
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.7.1...v0.8.0
Sorry Tailwind'ers, this bundle does not yet support TailwindCSS 4.0. This release defaults the binary to the latest 3.x release until we can properly support 4.0!
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.7.0...v0.7.1
Hey Tailwind'ers!
Small release but with a cool new feature: the ability to use a custom PostCSS configuration!
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.6.1...v0.7.0
Hey Tailwind'ers!
Just a minor housekeeping release!
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.6.0...v0.6.1
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.5.3...v0.6.0
Hi there!
If you're experiencing problems with auto-rebuilding your CSS using --watch on Windows Docker - try to add --poll along with the --watch option:
php bin/console tailwind:build --watch --poll
TailwindCSS will use polling instead of filesystem events when watching.
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.5.2...v0.5.3
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.5.1...v0.5.2
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.5.0...v0.5.1
Hello there!
Now you can configure a custom path to your tailwind.config.js via bundle configuration.
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.4.0...v0.5.0
Now you can specify in the config file which version of Tailwind binary you want to use.
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.3.0...v0.4.0
Hi there!
This bundle is shipped with the latest Tailwind binary now! Also, it's ready for PHP 8.3
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.2.1...v0.3.0
Hi there!
This updates the Tailwind binary that's used to 3.3.5
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.2.0...v0.2.1
Have fun!
Hi there! A new release to support upcoming Symfony 7️⃣
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.1.7...v0.2.0
Hi Tailwinders!
This release adds a --minify option by @Kocal in https://github.com/SymfonyCasts/tailwind-bundle/pull/21
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.1.6...v0.1.7
Cheers!
Hi Tailwinders!
Just a small fix to allow the input_css to handle relative paths (like the documentation already shows).
Full Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.1.5...v0.1.6
Cheers!
Hi!
A small release to download the latest Tailwind version.
Changelog: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.1.4...v0.1.5
Hi again!
This release fixes the --watch flag in Windows and the binary download for aarch64:
Full Changes: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.1.3...v0.1.4
Have fun!
Hi again!
This release fixes a problem where, if you had a url('../images/some-file.png') in your Tailwind CSS file, AssetMapper would not correclty update that to the correct versioned filename in the final CSS.
Full Changes: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.1.2...v0.1.3
Have fun!
Hi again!
This release fixes a problem where the generated CSS would not be "swapped" in correctly on Windows and in some other edge cases, causing the source Tailwind CSS contents to be served instead.
Full Changes: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.1.1...v0.1.2
Have fun!
Hi!
A release for a bug fix for many Windows users, where the correct binary to download was not being correctly calculated.
Full Changes: https://github.com/SymfonyCasts/tailwind-bundle/compare/v0.1.0...v0.1.1
Hi there!
Initial release of the bundle. If you experience any problems, please open an issue to help us improve.
Cheers!
How can I help you explore Laravel packages today?