hjbdev / php-wordpress-xml-parser
Parses the WordPress WXR XML files and returns them in a more usable format.
Installs: 3 993
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: ^7.0|^8.0
Requires (Dev)
- phpstan/phpstan: ^0.12.92
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.