PHPackages                             178inaba/tomload - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. 178inaba/tomload

Abandoned → [178inaba/toml-helper](/?search=178inaba%2Ftoml-helper)Library[Utility &amp; Helpers](/categories/utility)

178inaba/tomload
================

helper for loading toml.

v2.0.0(9y ago)044MITPHP

Since Jun 7Pushed 9y ago1 watchersCompare

[ Source](https://github.com/178inaba/tomload)[ Packagist](https://packagist.org/packages/178inaba/tomload)[ Docs](https://github.com/178inaba/toml-helper)[ RSS](/packages/178inaba-tomload/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

toml helper
===========

[](#toml-helper)

[![Build Status](https://camo.githubusercontent.com/5ad89c65bfe477c6f0f8693406c41654b6b6911affb608d9bc52d8c7c4f3abd3/68747470733a2f2f7472617669732d63692e6f72672f313738696e6162612f746f6d6c2d68656c7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/178inaba/toml-helper)[![Total Downloads](https://camo.githubusercontent.com/fca0a646c9e9ea6af9bc6223301beb59cf8b3075e3a3dcb41ce687f103b4b285/68747470733a2f2f706f7365722e707567782e6f72672f313738696e6162612f746f6d6c2d68656c7065722f646f776e6c6f616473)](https://packagist.org/packages/178inaba/toml-helper)[![Latest Stable Version](https://camo.githubusercontent.com/37e1753b0219216772a1c3420d4525dfa66e0d965043cac80fdf890e3525d2ae/68747470733a2f2f706f7365722e707567782e6f72672f313738696e6162612f746f6d6c2d68656c7065722f762f737461626c65)](https://packagist.org/packages/178inaba/toml-helper)[![Latest Unstable Version](https://camo.githubusercontent.com/347ff859c025200a30604456ad5c80162b63faeda3f2605fcd97aa698d55cc86/68747470733a2f2f706f7365722e707567782e6f72672f313738696e6162612f746f6d6c2d68656c7065722f762f756e737461626c65)](https://packagist.org/packages/178inaba/toml-helper)[![License](https://camo.githubusercontent.com/f4c9c2db182ce3d3c59681fb2a04c940bd3d591f019133caddb3ad5100ec363a/68747470733a2f2f706f7365722e707567782e6f72672f313738696e6162612f746f6d6c2d68656c7065722f6c6963656e7365)](https://packagist.org/packages/178inaba/toml-helper)

helper for loading [toml](https://github.com/toml-lang/toml).

install
-------

[](#install)

```
$ composer require 178inaba/toml-helper
```

env
---

[](#env)

### TOML\_DIR

[](#toml_dir)

default toml directory is `../tomls`.
change toml directory to set `TOML_DIR`.

usage
-----

[](#usage)

directory structure is

```
app
|-- public
|    +-- index.php
|-- foo
|    +-- bar
|         +-- example.toml
...

```

example.toml is

```
[author]
PHP = "Rasmus Lerdorf"
```

index.php is

```
