PHP code example of katmore / micro-encode
1. Go to this page and download the library: Download katmore/micro-encode 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/ */
katmore / micro-encode example snippets
$myData = [
'my_example_1'=>'my 1st data value',
'my_example_2'=>'my 2nd data value',
];
echo (new \MicroEncode\XmlEncoder($myData));
$myData = [
'my_example_1'=>'my 1st data value',
'my_example_2'=>'my 2nd data value',
];
echo (new \MicroEncode\HtmlEncoder($myData));