Phalcon Incubator Config Adapters

v1.0.0 2020-09-02 20:34 UTC

This package is auto-updated.

Last update: 2022-01-09 22:06:38 UTC


Discord Packagist Version PHP from Packagist codecov Packagist

XML Adapter

Reads xml files and converts them to Phalcon\Config objects.

Given the next configuration file:


You can read it as follows:

use Phalcon\Incubator\Config\Adapter\Xml;

$config = new Xml('path/config.xml');

echo $config->phalcon->baseuri;
echo $config->nested->config->parameter;