Skip to content

Latest commit

 

History

History

php

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

YAMLStar PHP Binding

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