PHPackages                             brianseitel/oasis-mson-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. brianseitel/oasis-mson-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

brianseitel/oasis-mson-parser
=============================

An MSON parser for PHP

17302[2 PRs](https://github.com/brianseitel/oasis-mson-parser/pulls)1PHP

Since May 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/brianseitel/oasis-mson-parser)[ Packagist](https://packagist.org/packages/brianseitel/oasis-mson-parser)[ RSS](/packages/brianseitel-oasis-mson-parser/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (1)

Oasis MSON Parser
=================

[](#oasis-mson-parser)

### API Blueprint Parser for PHP

[](#api-blueprint-parser-for-php)

Oasis MSON Parser is a PHP wrapper for the [Drafter](https://github.com/apiaryio/drafter) library.

API Blueprint is Web API documentation language. You can find API Blueprint documentation on the [API Blueprint site](https://apiblueprint.org).

Install
-------

[](#install)

The best way to install this is via [Composer](http://getcomposer.org).

```
$ composer require brianseitel/oasis-mson-parser
```

**NOTE:** *Oasis MSON Parser depends on the [Drafter](https://github.com/apiaryio/drafter) library. Please see that repo for build instructions.*

Getting started
---------------

[](#getting-started)

### Signature

[](#signature)

```
function parse(string $data, $format = 'json')
```

### Quickstart Example

[](#quickstart-example)

```
