2017 © Pedro Peláez
 

library spyc

A simple YAML loader/dumper class for PHP

image

socloz/spyc

A simple YAML loader/dumper class for PHP

  • Wednesday, August 19, 2015
  • by noisebynorthwest
  • Repository
  • 11 Watchers
  • 0 Stars
  • 3,730 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 184 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Spyc is a YAML loader/dumper written in pure PHP. Given a YAML document, Spyc will return an array that you can use however you see fit. Given an array, Spyc will return a string which contains a YAML document built from your data., (*1)

YAML is an amazingly human friendly and strikingly versatile data serialization language which can be used for log files, config files, custom protocols, the works. For more information, see http://www.yaml.org., (*2)

Spyc supports YAML 1.0 specification., (*3)

Using Spyc

Using Spyc is trivial:, (*4)

<?php
require_once "spyc.php";
$Data = Spyc::YAMLLoad('spyc.yaml');

or (if you prefer functional syntax), (*5)

<?php
require_once "spyc.php";
$Data = spyc_load_file('spyc.yaml');

Donations, anyone?

If you find Spyc useful, I'm accepting Bitcoin donations (who doesn't these days?) at 193bEkLP7zMrNLZm9UdUet4puGD5mQiLai, (*6)

The Versions

19/08 2015

dev-socloz-master

dev-socloz-master https://github.com/SoCloz/spyc

A simple YAML loader/dumper class for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

The Development Requires

by Avatar mustangostang

yaml yml spyc

20/03 2015

dev-master

9999999-dev https://github.com/mustangostang/spyc/

A simple YAML loader/dumper class for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

The Development Requires

by Avatar mustangostang

yaml yml spyc

21/02 2013

0.5.1

0.5.1.0 https://github.com/mustangostang/spyc/

A simple YAML loader/dumper class for PHP

  Sources   Download

MIT License

The Requires

  • php >=5.3.1

 

by Avatar mustangostang

yaml yml spyc