hjbdev/php-wordpress-xml-parser

Parses the WordPress WXR XML files and returns them in a more usable format.

1.0.0 2021-07-14 20:00 UTC

This package is auto-updated.

Last update: 2024-11-15 03:14:47 UTC


README

Parses WordPress WXR Files and presents them as a nice array.

Usage

    use HJBDev\PHPWordpressXMLParser\Parser;

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

This is essentially a framework-agnostic version of the Wordpress Importer and as such the license has to be GNU GPLv2.