yaml / yamlstar-php
PHP binding for YAMLStar
Package info
pkg:composer/yaml/yamlstar-php
0.1.21
2026-09-08 20:13 UTC
Requires
- php: >=8.0
- ext-ffi: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
PHP binding for the YAMLStar shared library.
<?php require 'vendor/autoload.php'; $ys = new YAMLStar\YAMLStar(); $data = $ys->load("key: value"); $text = $ys->dump(["foo" => [["bar"]]]); $ys->close();
Install the matching libyamlstar release before using this package:
curl -sSL https://yamlstar.org/install | LIB=1 bash
composer require yaml/yamlstar-php