An open API service indexing awesome lists of open source software.

https://github.com/leonelquinteros/php-toml

PHP TOML parser
https://github.com/leonelquinteros/php-toml

packagist php php-parser php-toml toml

Last synced: 25 days ago
JSON representation

PHP TOML parser

Awesome Lists containing this project

README

          

[![Packagist](https://img.shields.io/packagist/v/leonelquinteros/php-toml.svg)](https://packagist.org/packages/leonelquinteros/php-toml)
[![Packagist](https://img.shields.io/packagist/l/leonelquinteros/php-toml.svg)](https://packagist.org/packages/leonelquinteros/php-toml)
[![Build Status](https://travis-ci.org/leonelquinteros/php-toml.svg?branch=master)](https://travis-ci.org/leonelquinteros/php-toml)
[![Packagist](https://img.shields.io/packagist/dt/leonelquinteros/php-toml.svg)](https://packagist.org/packages/leonelquinteros/php-toml)

PHP TOML parser
===============

PHP parser for TOML language ( https://github.com/toml-lang/toml )

Support
-------

TOML version: [v0.4.0](https://github.com/mojombo/toml/blob/master/versions/en/toml-v0.4.0.md)

Requirements
------------

- PHP 5.2+

Installation
------------

Grab src/Toml.php and use it where you need it.

This library intends to stay simple and support older versions of PHP down to 5.2.
Common autoloaders would work for standard use as long as the file Toml.php is in the include path.

If you need to use it into namespaced environments or with a certain autoloader struct,
you can wrap it up to your own taste creating a simple file like:

##### /some/project/namespace/path/My/Own/Toml.php

```php