Registry / cli / hexmedia-yaml-linter

hexmedia-yaml-linter

JSON →
library0.2phppackagistunverified

YamlLinter based on symfony command yaml:lint

composer require hexmedia/yaml-linter
INSTALL
IMPORT
SIG · HEXMEDIA-YAML-LINT
H
hexmedia-yaml-linter
cliphpv0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Linter
use Hexmedia\YamlLinter\Linter;

Lint a YAML file

use Hexmedia\YamlLinter\Linter; $linter = new Linter(); $result = $linter->lint('path/to/file.yaml'); echo $result ? 'Valid YAML' : 'Invalid YAML';
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
26
Resources
hexmedia-yaml-linter — pip install hexmedia-yaml-linter · libregistry