neilime / php-css-lint
Powerful & memory efficient CSS linter for PHP
Fund package maintenance!
neilime
Installs: 1 421 447
Dependents: 3
Suggesters: 0
Security: 0
Stars: 11
Watchers: 3
Forks: 5
Open Issues: 1
Requires
- php: ^8.1
- ext-json: *
Requires (Dev)
- guzzlehttp/guzzle: ^7.9
- mikey179/vfsstream: ^1.6
- pcov/clobber: ^2.0
- phpunit/phpunit: ^9.5.27
- symfony/cache: ^6.4
- symfony/console: ^6.4
- symfony/css-selector: ^6.4
- symfony/dom-crawler: ^6.4
- dev-main
- v6.1.0
- v6.0.1
- v6.0.0
- v5.0.0
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.0
- v3.2.0
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.0
- v2.2.0
- v2.1.0
- v2.0.0
- v1.1.0
- v1.0.1
- 1.0.0
- dev-dependabot/composer/tools/friendsofphp/php-cs-fixer-tw-3.84
- dev-dependabot/github_actions/github-actions-dependencies-48c7dc6f3b
- dev-copilot/fix-75277121-69fe-46f5-a386-9972c0cf11c6
This package is auto-updated.
Last update: 2025-07-18 13:10:56 UTC
README
📢 Php CSS Lint is a php script that lint css files and strings. It supports W3C and MDN CSS specifications.
===========================================================
____ _ ____ ____ ____ _ _ _
| _ \| |__ _ __ / ___/ ___/ ___| | | (_)_ __ | |_
| |_) | '_ \| '_ \ | | \___ \___ \ | | | | '_ \| __|
| __/| | | | |_) | | |___ ___) |__) | | |___| | | | | |_
|_| |_| |_| .__/ \____|____/____/ |_____|_|_| |_|\__|
|_|
===========================================================
# Lint CSS file "/path/to/css/file.css"...
- [invalid_property_declaration]: property - Unknown property "bordr-top-style" (line 3, column 5 to line 3, column 27)
- [unclosed_token]: block - Unclosed "block" detected (line 1, column 23 to line 6, column 2)
=> Failure: CSS file "/path/to/css/file.css" is invalid CSS.
Helping Project
❤️ If this project helps you reduce time to develop and/or you want to help the maintainer of this project. You can sponsor him. Thank you !
Contributing
👍 If you wish to contribute to this project, please read the CONTRIBUTING.md file. Note: If you want to contribute don't hesitate, I'll review any PR.