2017 © Pedro Peláez
 

library ini-parser

PHP INI Parser Library

image

chinacn/ini-parser

PHP INI Parser Library

  • Monday, August 28, 2017
  • by Timandes
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

ini-parser

PHP INI Parser, (*1)

1.Installation via Composer

Add "chinacn/ini-parser": "~0.1" to the require block in your composer.json and then run composer install. ``` { "require": { "chinacn/ini-parser": "~0.1" } }, (*2)

Alternatively, you can simply run the following from the command line:

composer require chinacn/ini-parser "~0.1";, (*3)

## 2.Usage

you can use code like:

include "./vendor/autoload.php";, (*4)

$str= <<<'EOT', (*5)

[numa], (*6)

interleave = all # Interleave, (*7)

cpunodebind = 1 # Bind to node 1

membind = 1

[mysqld], (*8)

Network

port = 3306, (*9)

socket = /data1/mysql/tmp/mysql.sock, (*10)

large-pages # Enable large pages, (*11)

EOT;, (*12)

$parser = new chinacn\parser\IniParser();, (*13)

$parser->parse($str);, (*14)

```, (*15)

The Versions

28/08 2017

dev-master

9999999-dev http://github.com/china-cn-dev/ini-parser

PHP INI Parser Library

  Sources   Download

Apache 2.0

The Requires

  • php >=5.3.4

 

parser ini

25/08 2017

0.1.1

0.1.1.0 http://github.com/china-cn-dev/ini-parser

PHP INI Parser Library

  Sources   Download

Apache 2.0

The Requires

  • php >=5.3.4

 

parser ini

25/08 2017

0.1.0

0.1.0.0 http://github.com/china-cn-dev/ini-parser

PHP INI Parser Library

  Sources   Download

Apache 2.0

The Requires

  • php >=5.3.4

 

parser ini