NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #4930 most downloaded on Packagist
Powerful & memory efficient CSS linter for PHP
Latest stable
v7.2.1
Last release 1 months ago
28 Sep 2026
Release timing varies
gaps range from 2 weeks to 5 months
Nearly every release is documented
notes for 24 of 26 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
26 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Updated CSS reference data and fixed false parsing errors caused by block delimiters inside comments.
Updated CSS reference data and fixed false parsing errors caused by block delimiters inside comments.
Internal improvements simplify lazy initialization and update development dependencies.
No breaking changes.
unexpected_character_in_block_content by @neilime with @Copilot in https://github.com/neilime/php-css-lint/pull/229Full Changelog: https://github.com/neilime/php-css-lint/compare/v7.2.0...v7.2.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
CSS referential data has been updated, improving linting coverage for current CSS rules. Data URLs are now correctly handled during property parsing,
CSS referential data has been updated, improving linting coverage for current CSS rules. Data URLs are now correctly handled during property parsing, improving validation reliability.
Internal changes include GitHub Actions dependency updates and test adjustments required by CSS rule updates.
There is no breaking change.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v7.1.0...v7.2.0
Updated CSS referential to improve lint coverage and accuracy.
Updated CSS referential to improve lint coverage and accuracy.
Internal: development dependencies now allow Symfony ^7.2 alongside ^6.4, easing installs on Symfony 7 projects with no change to production code.
There is no breaking change.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v7.0.0...v7.1.0
CSS Referential was updated, expanding support and accuracy for rule validation.
Add support for PHP 8.5.
CSS Referential was updated, expanding support and accuracy for rule validation.
Internal: dependencies and CI were refreshed for maintenance.
Drop support for PHP 8.1 ; Minimum supported PHP version is now 8.2.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v6.2.1...v7.0.0
Updated the CSS Referential dataset to the latest rules across multiple runs to improve lint coverage and accuracy. Fixed the CSS referential scraper
Updated the CSS Referential dataset to the latest rules across multiple runs to improve lint coverage and accuracy. Fixed the CSS referential scraper with a retry and rate-limiting strategy to gracefully handle 429 responses.
Internal: refreshed CI and tooling dependencies (GitHub Actions, actions/cache, codecov, ci-github-common) and developer utilities (php-cs-fixer, rector, guzzle) to keep the pipeline stable and maintainable.
There is no breaking change.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v6.2.0...v6.2.1
CSS Referential updated to the latest version, improving rule coverage and consistency.
CSS Referential updated to the latest version, improving rule coverage and consistency.
Internal: dependency maintenance across tools (php-cs-fixer in /tools) and CI pipelines (ci-github-common and grouped GitHub Actions updates); no user-facing fixes.
There is no breaking change.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v6.1.0...v6.2.0
This release adds an updated CSS Referential feature. It also fixes documentation to reflect current Linter usage. Under the tools scope, dependencies
This release adds an updated CSS Referential feature. It also fixes documentation to reflect current Linter usage. Under the tools scope, dependencies for rector/rector and friendsofphp/php-cs-fixer have been updated.
There are no breaking changes.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v6.0.1...v6.1.0
No breaking changes were introduced in this release.
This release includes a bug fix to the CSS parser for improved handling of @font-face at-rule names, ensuring correct parsing by removing trailing brace characters. Dependency updates have been applied to maintain tool stability and compatibility, including upgrades to phpstan/phpstan from ^2.0 to ^2.1 and hoverkraft-tech/ci-github-common from 0.22.3 to 0.23.0.
No breaking changes were introduced in this release.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v6.0.0...v6.0.1
⚠️ Breaking change: Parsing logic is now completely separate from linting logic—this affects any integrations expecting combined behavior.
Four updates in this release:
github-actions-dependencies group, addressing minor version improvements.Parser–linter separation (/feat!/) The parsing mechanism has been extracted and can now be used independently of the linting stage. Integrations relying on the previous unified parser‑lint workflow may break and need to be updated to explicitly invoke both stages in sequence.
Output formatter added (/feat!/) A dedicated formatter layer has been added for lint output. Users must now provide or select a formatter compatible with the new interface, or adjust existing code to supply the required formatter component.
codecov/codecov-action from v5.4.2 to v5.4.3 to apply latest CI improvements.Let me know if you'd like the detailed changes from any of these pull requests!
Full Changelog: https://github.com/neilime/php-css-lint/compare/v5.0.0...v6.0.0
The internal code has been refactored, it can result to breaking change for code extending this CssLint library
This release introduces support for the latest CSS properties based on W3C and MDN standards, enhancing compatibility and accuracy in linting. Additionally, the tool now supports PHP 8.4, ensuring forward compatibility with the upcoming PHP version.
CssLint libraryFull Changelog: https://github.com/neilime/php-css-lint/compare/v4.1.2...v5.0.0
No breaking changes introduced in this release.
This release includes dependency updates and a bug fix. The GitHub Actions dependency hoverkraft-tech/ci-github-common was upgraded incrementally from 0.22.0 to 0.22.3 to ensure improved CI stability and security. Additionally, a bug was fixed to support semicolons in @import url statements during linting, improving CSS compatibility.
No breaking changes introduced in this release.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v4.1.1...v4.1.2
There are no breaking changes in this release.
This release includes a bug fix improving support for @import strings in CSS, enhancing compatibility with various syntax patterns. Dependency updates were made to friendsofphp/php-cs-fixer, progressing incrementally from version ^3.68 to ^3.75 within the /tools directory, ensuring up-to-date code formatting tools. Additionally, updates to GitHub Actions dependencies were applied, with hoverkraft-tech/ci-github-common upgraded from 0.17.0 to 0.22.0, improving CI reliability and functionality.
There are no breaking changes in this release.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v4.1.0...v4.1.1
…better compatibility and maintenance. No breaking changes have been reported.
This release introduces support for file glob patterns as input, enhancing flexibility when specifying files. Continuous integration has been improved with the addition of Rector. Several dependency updates were applied, including friendsofphp/php-cs-fixer and hoverkraft-tech/ci-github-common, ensuring better compatibility and maintenance. No breaking changes have been reported.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v4.0.0...v4.1.0
This release includes several dependency updates to improve build reliability and maintain compatibility with the latest GitHub Actions tools. Additio
This release includes several dependency updates to improve build reliability and maintain compatibility with the latest GitHub Actions tools. Additionally, support for PHP 8.3 has been introduced, broadening the range of supported PHP versions. These updates ensure enhanced performance, security, and future-proofing for the project.
Full Changelog: https://github.com/neilime/php-css-lint/compare/v3.2.0...v4.0.0
build(deps-dev): update phpunit/phpunit requirement from ^9.5.24 to ^9.5.25 by @dependabot in https://github.com/neilime/php-css-lint/pull/70
Full Changelog: https://github.com/neilime/php-css-lint/compare/v3.1.3...v3.2.0
build(deps-dev): update phpunit/phpunit requirement from ^9.5.21 to ^9.5.23 by @dependabot in https://github.com/neilime/php-css-lint/pull/67
Full Changelog: https://github.com/neilime/php-css-lint/compare/v3.1.2...v3.1.3
ci: fix publish workflow by @neilime in https://github.com/neilime/php-css-lint/pull/64
Full Changelog: https://github.com/neilime/php-css-lint/compare/v3.1.1...v3.1.2
ci: fix publish by @neilime in https://github.com/neilime/php-css-lint/pull/63
Full Changelog: https://github.com/neilime/php-css-lint/compare/v3.1.0...v3.1.1
Update phpstan/extension-installer requirement from ^1.0 to ^1.1 by @dependabot in https://github.com/neilime/php-css-lint/pull/31
Full Changelog: https://github.com/neilime/php-css-lint/compare/v3.0.0...v3.1.0
Move \CssLint\Properties methods and properties to non static
\CssLint\Properties methods and properties to non static\CssLint\Properties array properties from ['property' => ''] to ['property' => bool] where bool define if the property is allowed or notcli usage: https://github.com/neilime/php-css-lint/wiki/Usage#display-man-page\CssLint\PropertiesMove continuous integration to Github Actions
Linter constructor accepts an optional instance of the "\CssLint\Properties" helper.
Supports only php supported Versions (^7.2)
Add new feature for script : Take CSS in from STDIN
Add new feature for script : Take CSS in from STDIN
Nothing published for this version
Nothing published for this version
One column per quarter.