https://github.com/neilime/php-css-lint
CSS Linter for PHP
https://github.com/neilime/php-css-lint
composer css css-linter lint php
Last synced: 3 months ago
JSON representation
CSS Linter for PHP
- Host: GitHub
- URL: https://github.com/neilime/php-css-lint
- Owner: neilime
- License: mit
- Created: 2017-01-17T18:01:18.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-04-04T07:15:55.000Z (3 months ago)
- Last Synced: 2025-04-09T15:09:04.396Z (3 months ago)
- Topics: composer, css, css-linter, lint, php
- Language: PHP
- Homepage: https://neilime.github.io/php-css-lint/
- Size: 582 KB
- Stars: 11
- Watchers: 3
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://github.com/neilime/php-css-lint/actions?query=workflow%3A%22Continuous+integration%22)
[](https://codecov.io/gh/neilime/php-css-lint)
[](https://packagist.org/packages/neilime/php-css-lint)
[](https://packagist.org/packages/neilime/php-css-lint)
[](https://packagist.org/packages/neilime/php-css-lint)
[](https://github.com/sponsors/neilime)📢 **Php CSS Lint** is a php script that lint css files and strings:
```
===========================================================____ _ ____ ____ ____ _ _ _
| _ \| |__ _ __ / ___/ ___/ ___| | | (_)_ __ | |_
| |_) | '_ \| '_ \ | | \___ \___ \ | | | | '_ \| __|
| __/| | | | |_) | | |___ ___) |__) | | |___| | | | | |_
|_| |_| |_| .__/ \____|____/____/ |_____|_|_| |_|\__|
|_|===========================================================
# Lint file "/path/to/css/file.css"...
=> File "/path/to/css/file.css" is not valid :- Unknown CSS property "bordr-top-style" (line: 8, char: 20)
- Unexpected char ":" (line: 15, char: 5)
```# 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](https://github.com/sponsors/neilime) him. Thank you !
# Contributing
👍 If you wish to contribute to this project, please read the [CONTRIBUTING.md](CONTRIBUTING.md) file. Note: If you want to contribute don't hesitate, I'll review any PR.
# Documentation
1. [Installation](https://neilime.github.io/php-css-lint/installation)
2. [Usage](https://neilime.github.io/php-css-lint/usage)
3. [Code Coverage](https://codecov.io/gh/neilime/php-css-lint)
4. [PHP Doc](https://neilime.github.io/php-css-lint/phpdoc)
5. [Development](https://neilime.github.io/php-css-lint/development)