2017 © Pedro Peláez
 

library tomload

helper for loading toml.

image

178inaba/tomload

helper for loading toml.

  • Thursday, July 7, 2016
  • by 178inaba
  • Repository
  • 1 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

toml helper

Build Status Total Downloads Latest Stable Version Latest Unstable Version License, (*1)

helper for loading toml., (*2)

install

$ composer require 178inaba/toml-helper

env

TOML_DIR

default toml directory is ../tomls.
change toml directory to set TOML_DIR., (*3)

usage

directory structure is, (*4)

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

example.toml is, (*5)

[author]
PHP = "Rasmus Lerdorf"

index.php is, (*6)

<?php

require __DIR__.'/../vendor/autoload.php';
putenv('TOML_DIR='.__DIR__.'/../foo/bar');

$phpAuthor = toml('example.author.PHP');
echo $phpAuthor."\n";

run, (*7)

$ php index.php
Rasmus Lerdorf

License

MIT, (*8)

The Versions

07/07 2016

dev-master

9999999-dev https://github.com/178inaba/tomload

helper for loading toml.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar 178inaba

config helper toml

04/07 2016

v1.1.0

1.1.0.0 https://github.com/178inaba/tomload

helper for loading toml.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar 178inaba

config helper toml

07/06 2016

v1.0.0

1.0.0.0 https://github.com/178inaba/zf1-tomload

helper for loading toml in zend framework 1.

  Sources   Download

MIT

The Requires

 

by Avatar 178inaba

config helper toml zf1 zend framework 1