2017 © Pedro Peláez
 

library yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

image

heartsentwined/yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

  • Wednesday, July 6, 2016
  • by heartsentwined
  • Repository
  • 1 Watchers
  • 3 Stars
  • 6,958 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 9 Versions
  • 1 % Grown

The README.md

Yalesov\Yaml

Build Status, (*1)

Wrapper around Symfony's Yaml parser - added __DIR__ support., (*2)

Installation

Composer:, (*3)

{
  "require": {
    "yalesov/yaml": "2.*"
  }
}

Usage

Two constants added: - __DIR__: behave as expected - ___DIR___ (an extra underscore around): literal __DIR__, (*4)

Parse a Yaml file foo/bar.yml:, (*5)

use Yalesov\Yaml\Yaml;
$parsedArray = Yaml::parse('foo/bar.yml');

Parse a Yaml string foo: bar (of course, neither __DIR__ nor ___DIR___ would be available), (*6)

use Yalesov\Yaml\Yaml;
$parsedArray = Yaml::parse('foo: bar');

The Versions

06/07 2016

dev-master

9999999-dev https://github.com/yalesov/php-yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

  Sources   Download

ISC

The Requires

 

The Development Requires

by Yulij Andreevich Lesov

yaml yml

06/07 2016

v2.0.4

2.0.4.0 https://github.com/yalesov/php-yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

  Sources   Download

ISC

The Requires

 

The Development Requires

by Yulij Andreevich Lesov

yaml yml

05/07 2016

v2.0.3

2.0.3.0 https://github.com/yalesov/php-yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

  Sources   Download

ISC

The Requires

 

The Development Requires

by Yulij Andreevich Lesov

yaml yml

05/07 2016

v2.0.2

2.0.2.0 https://github.com/yalesov/php-yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

  Sources   Download

ISC

The Requires

 

The Development Requires

by Yulij Andreevich Lesov

yaml yml

05/07 2016

v2.0.1

2.0.1.0 https://github.com/yalesov/php-yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

  Sources   Download

ISC

The Requires

 

The Development Requires

by Yulij Andreevich Lesov

yaml yml

05/07 2016

v2.0.0

2.0.0.0 https://github.com/yalesov/php-yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

  Sources   Download

ISC

The Requires

 

The Development Requires

by Yulij Andreevich Lesov

yaml yml

03/10 2012

1.0.2

1.0.2.0 https://github.com/heartsentwined/yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

yaml yml

28/09 2012

1.0.1

1.0.1.0 https://github.com/heartsentwined/yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

yaml yml

17/09 2012

1.0.0

1.0.0.0 https://github.com/heartsentwined/yaml

Wrapper around Symfony's Yaml parser - added __DIR__ support.

  Sources   Download

GPL-3.0

The Requires

 

by Avatar heartsentwined

yaml yml