PHP code example of appserver-io / configuration

1. Go to this page and download the library: Download appserver-io/configuration library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

appserver-io / configuration example snippets



// initialize the configuration with the content XML configuration file
$configuration = new Configuration();
$configuration->initFromFile('/your/file.xml');

// add a new node XML to the root node 
$configuration->addChildWithNameAndValue('baseDirectory', '/application/base/directory');