PHPackages                             waaseyaa/migrate-source-wordpress - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. waaseyaa/migrate-source-wordpress

ActiveLibrary[Database &amp; ORM](/categories/database)

waaseyaa/migrate-source-wordpress
=================================

WordPress (WXR) source reader for the Waaseyaa migration platform

v0.1.0-alpha.2(2w ago)01GPL-2.0-or-laterPHPPHP &gt;=8.5CI passing

Since May 14Pushed 1w agoCompare

[ Source](https://github.com/waaseyaa/migrate-source-wordpress)[ Packagist](https://packagist.org/packages/waaseyaa/migrate-source-wordpress)[ Docs](https://github.com/waaseyaa/migrate-source-wordpress)[ RSS](/packages/waaseyaa-migrate-source-wordpress/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (10)Versions (14)Used By (0)

waaseyaa/migrate-source-wordpress
=================================

[](#waaseyaamigrate-source-wordpress)

> Migrate your WordPress site to Waaseyaa.

First-party WordPress source reader for the [Waaseyaa migration platform](https://github.com/waaseyaa/framework). Imports a WordPress site — posts, pages, users, taxonomies, attachments, comments — from a WXR (WordPress eXtended RSS) export into a Waaseyaa-powered application.

30-second quick start
---------------------

[](#30-second-quick-start)

```
composer require waaseyaa/migrate-source-wordpress
```

In your application's migration wiring:

```
use Waaseyaa\Migrate\Source\WordPress\Migration\WpUsersToAccounts;
use Waaseyaa\Migrate\Source\WordPress\Migration\WpPostsToArticles;
use Waaseyaa\Migrate\Source\WordPress\Wxr\WxrReader;

$reader = new WxrReader('/path/to/wp-export.xml');

return [
    (new WpUsersToAccounts($reader, $yourAccountDestination))->definition(),
    (new WpPostsToArticles($reader, $yourArticleDestination))->definition(),
    // …users → terms → media → posts → comments, per FR-024
];
```

Then:

```
bin/waaseyaa import:run-all
```

The runner walks the dependency chain — users → terms → media → posts → comments — and writes idempotently to your destination. See the [operator guide](docs/migrating-from-wordpress.md) for the full step-by-step.

What ships
----------

[](#what-ships)

- **`WxrReader`** — streaming WXR XML parser (WXR 1.0 / 1.1 / 1.2) with skip-with-warning recovery.
- **Five source plugins**: `WordPressUserSource`, `WordPressTaxonomySource`, `WordPressMediaSource`, `WordPressPostSource`, `WordPressCommentSource`.
- **Three process plugins**: `WordPressShortcodeStrip` (with custom rewriter hooks), `WordPressOembedExpand` (opt-in remote resolution for YouTube/Vimeo/Twitter/Instagram), `WordPressMediaRewriteUrl` (CDN host allowlist).
- **Five default migration factories**: `WpUsersToAccounts` (discards WP passwords + forces reset), `WpTermsToTaxonomy`, `WpMediaToEntities`, `WpPostsToArticles` (renameable example), `WpCommentsToEngagement`.
- **`MediaCopier`** — idempotent local + HTTP media copy primitive with sha256 verification.

Full inventory: [`public-surface-map.md`](public-surface-map.md).

Compatibility
-------------

[](#compatibility)

`waaseyaa/migrate-source-wordpress``waaseyaa/migration` substratePHP`0.1.x``^0.1.0-alpha.179``>= 8.5`Verifying a clean install
-------------------------

[](#verifying-a-clean-install)

```
docker run --rm -it php:8.5-cli bash
apt-get update && apt-get install -y git unzip libxml2-dev
docker-php-ext-install xml xmlreader
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
mkdir /tmp/smoke && cd /tmp/smoke
composer init -q --name=test/smoke --no-interaction
composer require waaseyaa/migrate-source-wordpress
php -r "require 'vendor/autoload.php'; echo class_exists('Waaseyaa\\\\Migrate\\\\Source\\\\WordPress\\\\Wxr\\\\WxrReader') ? 'OK' : 'FAIL';"
```

Documentation
-------------

[](#documentation)

- **[Operator guide](docs/migrating-from-wordpress.md)** — for WordPress site owners migrating their content.
- **[Customization guide](docs/customization.md)** — for developers wiring the reader into a Waaseyaa app.
- **[Public surface map](public-surface-map.md)** — every stable symbol the package ships, plus error-code constants.
- **[CHANGELOG](CHANGELOG.md)**.

Mission
-------

[](#mission)

This package implements [M-005](https://github.com/waaseyaa/framework/blob/main/kitty-specs/waaseyaa-migrate-source-wordpress-01KRCDEG/spec.md) of the Waaseyaa framework, the first first-party source reader for the migration substrate ([ADR 012a](https://github.com/waaseyaa/framework/blob/main/docs/adr/012a-migration-substrate-in-core.md)).

License
-------

[](#license)

GPL-2.0-or-later.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance97

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~56 days

Total

2

Last Release

14d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25d0ff572e93e3461e5180a920725d65691fd1e15e2d914b254dbbc2d6c393bd?d=identicon)[jonesrussell](/maintainers/jonesrussell)

---

Top Contributors

[![jonesrussell](https://avatars.githubusercontent.com/u/499552?v=4)](https://github.com/jonesrussell "jonesrussell (26 commits)")

---

Tags

wordpressmigrationimportwxrwaaseyaa

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/waaseyaa-migrate-source-wordpress/health.svg)

```
[![Health](https://phpackages.com/badges/waaseyaa-migrate-source-wordpress/health.svg)](https://phpackages.com/packages/waaseyaa-migrate-source-wordpress)
```

###  Alternatives

[in2code/migration

Framework for any kind of TYPO3 migrations and imports. Also exports and imports content from and to json files.

6382.9k3](/packages/in2code-migration)[dbout/wp-orm

WordPress ORM with Eloquent.

12910.3k1](/packages/dbout-wp-orm)[kmi/db-sync-tool

Python script to synchronize a database from and to client systems.

323.5k](/packages/kmi-db-sync-tool)[topshelfcraft/walk

A Craft-aware array\_walk() method, plus some super-convenient console commands, to easily call Craft service methods on a collection of elements or values.

221.5k](/packages/topshelfcraft-walk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
