2017 © Pedro Peláez
 

library mustangostang-spyc

A simple YAML loader/dumper class for PHP (WP-CLI fork)

image

wp-cli/mustangostang-spyc

A simple YAML loader/dumper class for PHP (WP-CLI fork)

  • Tuesday, April 25, 2017
  • by schlessera
  • Repository
  • 1 Watchers
  • 4 Stars
  • 250,834 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 184 Forks
  • 0 Open issues
  • 7 Versions
  • 22 % Grown

The README.md

mustangostang/spyc WP-CLI fork

This is a fork of the mustangostang/spyc package, under a different name to avoid potential security issues., (*1)

See wp-cli/wp-cli#4017 for more information., (*2)

Original documentation follows below:, (*3)


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., (*4)

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., (*5)

Spyc supports YAML 1.0 specification., (*6)

Using Spyc

Using Spyc is trivial:, (*7)

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

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

<?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, (*9)

The Versions

25/04 2017

dev-master

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

A simple YAML loader/dumper class for PHP (WP-CLI fork)

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

The Development Requires

by Avatar mustangostang

25/04 2017

dev-autoload

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

A simple YAML loader/dumper class for PHP (WP-CLI fork)

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

The Development Requires

by Avatar mustangostang

25/04 2017

0.6.3

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

A simple YAML loader/dumper class for PHP (WP-CLI fork)

  Sources   Download

MIT

The Requires

  • php >=5.3.1

 

The Development Requires

by Avatar mustangostang

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