sekjun9878/properties

A PHP library to parse .properties configuration files, often used for Minecraft servers.

v1.0.0 2015-05-22 14:36 UTC

This package is not auto-updated.

Last update: 2023-01-21 09:58:13 UTC


README

A PHP library to parse .properties configuration files, often used for Minecraft servers.

Install

php composer.phar require sekjun9878/properties ~1.0.0

Usage

use sekjun9878\Properties\Properties;

$data = file_get_contents(filename);
$array = Properties::parse($data);

$string = Properties::dump($array);

License

Copyright (c) 2015 Michael Yoo michael@yoo.id.au
Released under the MIT license; see LICENSE
https://github.com/sekjun9878/properties