hjbdev/php-wordpress-xml-parser

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

Maintainers

Package info

github.com/hjbdev/php-wordpress-xml-parser

pkg:composer/hjbdev/php-wordpress-xml-parser

Statistics

Installs: 6 315

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 0

1.0.0 2021-07-14 20:00 UTC

This package is auto-updated.

Last update: 2026-03-15 06:10:02 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.