hjbdev/php-wordpress-xml-parser

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

Installs: 5 952

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 2

Forks: 1

Open Issues: 0

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

1.0.0 2021-07-14 20:00 UTC

This package is auto-updated.

Last update: 2025-10-15 05:01:42 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.