2017 © Pedro PelĂĄez
 

library parser

Global data type parser

image

masnathan/parser

Global data type parser

  • Monday, August 31, 2015
  • by MASNathan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 310 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 2 Versions
  • 288 % Grown

The README.md

Parser

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads Support via Gittip, (*1)

Global data type parser, (*2)

Install

Via Composer, (*3)

``` bash $ composer require masnathan/parser, (*4)


## Usage ``` php use MASNathan\Parser\Parser; $data = array( 'foo' => 'bar', 'sup' => 'World' ); $content = Parser::data($data); $content->setPrettyOutput(true); echo $content->to('json'); // outputs in json format echo $content->to('xml'); // outputs in xml format

And also..., (*5)

$content = Parser::file('path/to/my/file.json')->from('json');

echo $content->to('xml'); // outputs in xml format

// or
echo Parser::file('path/to/my/file.xml')
        ->from('xml')
        ->setPrettyOutput(true)
        ->to('yaml');

Change log

Please see CHANGELOG for more information what has changed recently., (*6)

Testing

bash $ composer test, (*7)

Contributing

Please see CONTRIBUTING for details., (*8)

Security

If you discover any security related issues, please email andre.r.flip@gmail.com instead of using the issue tracker., (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

31/08 2015

dev-master

9999999-dev https://github.com/masnathan/parser

Global data type parser

  Sources   Download

MIT

The Requires

 

The Development Requires

parser php json xml yaml data encode decode

31/08 2015

v0.0.1

0.0.1.0 https://github.com/masnathan/parser

Global data type parser

  Sources   Download

MIT

The Requires

 

The Development Requires

parser php json xml yaml data encode decode