waaseyaa/migrate-source-wordpress
Composer 安装命令:
composer require waaseyaa/migrate-source-wordpress
包简介
WordPress (WXR) source reader for the Waaseyaa migration platform
README 文档
README
Migrate your WordPress site to Waaseyaa.
First-party WordPress source reader for the Waaseyaa migration platform. 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
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 for the full step-by-step.
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.
Compatibility
waaseyaa/migrate-source-wordpress |
waaseyaa/migration substrate |
PHP |
|---|---|---|
0.1.x |
^0.1.0-alpha.179 |
>= 8.5 |
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
- Operator guide — for WordPress site owners migrating their content.
- Customization guide — for developers wiring the reader into a Waaseyaa app.
- Public surface map — every stable symbol the package ships, plus error-code constants.
- CHANGELOG.
Mission
This package implements M-005 of the Waaseyaa framework, the first first-party source reader for the migration substrate (ADR 012a).
License
GPL-2.0-or-later.
waaseyaa/migrate-source-wordpress 适用场景与选型建议
waaseyaa/migrate-source-wordpress 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「import」 「wordpress」 「migration」 「wxr」 「waaseyaa」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 waaseyaa/migrate-source-wordpress 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 waaseyaa/migrate-source-wordpress 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 waaseyaa/migrate-source-wordpress 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Parse use statements for a reflection object
Tool for copying data from a production database to a dev database. Also useful for making backups of production databases.
A fork of konnco/filament-import with support of Laravel 11 since the default importer of Filament 3 is nonsense for basic use case.
Lets you add foreign keys in a swift! Foreign key adder in laravel migration.
Manage PostgreSQL schemas in Laravel applications
Bitrix db migration core libs
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 73
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-05-14