PHP code example of hjbdev / php-wordpress-xml-parser

1. Go to this page and download the library: Download hjbdev/php-wordpress-xml-parser 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/ */

    

hjbdev / php-wordpress-xml-parser example snippets


    use HJBDev\PHPWordpressXMLParser\Parser;

    $output = Parser::parse(__DIR__. 'path/to/xml/file');