Download the PHP package mayoturis/properties-ini without Composer
On this page you can find all versions of the php package mayoturis/properties-ini. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mayoturis/properties-ini
More information about mayoturis/properties-ini
Files in mayoturis/properties-ini
Download mayoturis/properties-ini
More information about mayoturis/properties-ini
Files in mayoturis/properties-ini
Vendor mayoturis
Package properties-ini
Short Description Getting and setting configuration values in ini (or java .properties) files
License MIT
Package properties-ini
Short Description Getting and setting configuration values in ini (or java .properties) files
License MIT
Please rate this library. Is it a good library?
Informations about the package properties-ini
PHP configuration writer and reader
Allows to get and set configuration variables stored in ini-like (or java .properties) files
Installation with composer
composer require mayoturis/properties-ini
or
Usage
Basic Example
File format
Reader can load these types of lines
Comment has to be at the start of the line
Example of file loading
Will be loaded as
Saving configuration
When saving the configuration, file format will be respected. Therefore empty lines and comments will preserved. New values (NOT only changed) will be placed at the end of the file
Further examples
Get all configuration values
Setting value
Save all configuration values
Notice: setAll function will override all configuration values. Previous values will be lost.
All versions of properties-ini with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package mayoturis/properties-ini contains the following files
Loading the files please wait ....