PHP code example of thapp / xmlconf
1. Go to this page and download the library: Download thapp/xmlconf 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/ */
thapp / xmlconf example snippets
// ...
'Thapp\XmlConf\XmlConfServiceProvider'
// ...
Route::get('/examples', function () use ($app) {
$SectionRepository = new Thapp\XmlConf\Examples\Sections\Repository($app['xmlconf.sections']);
var_dump($SectionRepository);
});
sh
php artisan config:publish thapp/xmlconfig
- Vendor/
- ReaderName/
- Schema/
- readername.xsd
- ReaderNameSimpleXml.php
- ReaderNameConfigReader.php