All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2026-08-06
- Secure, checksum-verified Tailwind CSS CLI downloads with version management
- Cached binary restoration, upgrade checks, and runnable verification
- Fully isolated unit tests for downloads, cache behavior, upgrades, and failure handling
- Comprehensive documentation in
/docsdirectory - LICENSE file (MIT)
- .gitattributes for composer package optimization
- .editorconfig for consistent coding style
- phpcs.xml for PSR-12 code style checking
- Enhanced test suite with 8 additional test cases covering edge cases
- Test groups for better test organization (@group annotations)
- composer.json metadata (keywords, homepage, support URLs)
- Require
symfony/cache5.4.52 or newer and PHPUnit 9.6.33 or newer - Stream release assets to unique temporary files and install them atomically
- Rename
TailwindCSS.phptoTailwindCss.phpfor case-sensitive PSR-4 compatibility - Improved test documentation with detailed docblocks
- Updated composer.json with archive excludes configuration
- Set minimum-stability to "stable" in composer.json
- Validate semantic release tags, GitHub asset URLs, and SHA-256 digests before installation
- Reject unsafe paths and symlinks, serialize concurrent downloads, and clean up failed downloads
- Check directory, copy, rename, permission, and cache operation failures
- Cache file validation to check file existence (commit f663292)
- Cache persistence across application restarts
1.0.0 - 2024-09-22
- Initial release
- Automatic TailwindCSS CLI download for PHP projects
- Platform detection for macOS (Intel/Apple Silicon), Linux (x64/ARM64), Windows
- Smart caching system using Symfony Cache
- Progress bar for downloads using Symfony Console
- PHPUnit test suite with 11 test methods
- Support for custom binary paths and cache directories
- Watch command generation for TailwindCSS compilation
- Vendor directory detection for proper binary placement
- Changed vendor name to "luberius"
- Added download logging and caching functionality
First stable release of Luberius TailwindCSS - a PHP library for automatic TailwindCSS CLI management.
Features:
- Zero-configuration setup
- Automatic platform detection
- Fast caching (< 5 seconds retrieval)
- Comprehensive test coverage
- PSR-4 autoloading
- MIT License
Requirements:
- PHP 8.0 or higher
- Symfony Cache ^5.4
- Symfony Console ^5.4
Installation:
composer require luberius/tailwindcssQuick Start:
use Luberius\TailwindCss\TailwindCss;
$tailwind = new TailwindCss();
$executablePath = $tailwind->getBinPath();