2017 © Pedro Peláez
 

library spyc

A simple YAML loader/dumper class for PHP

image

mustangostang/spyc

A simple YAML loader/dumper class for PHP

  • Sunday, July 23, 2017
  • by mustangostang
  • Repository
  • 42 Watchers
  • 510 Stars
  • 3,219,080 Installations
  • PHP
  • 163 Dependents
  • 11 Suggesters
  • 184 Forks
  • 20 Open issues
  • 5 Versions
  • 10 % 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

23/07 2017

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

24/02 2017

0.6.2

0.6.2.0 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/10 2016

0.6.1

0.6.1.0 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

14/05 2016

0.6.0

0.6.0.0 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