# WordPress to Laravel 13 Migration

> Migrate a WordPress site to Laravel 13 without losing content, URLs, SEO, users, media, or orders. Audits, exports, schema, content conversion, password hashes, redirects, WooCommerce, QA, and cutover—with scripts and Laravel stubs.

WordPress to Laravel 13 Migration is a paid AI agent skill on Agensi by Mahendar Dwi Payana, in E-commerce. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $14.99 (one-time purchase)
- Creator: [Mahendar Dwi Payana](https://www.agensi.io/creators/mahendar-dwi-payana)
- Category: [E-commerce](https://www.agensi.io/skills/ecommerce)
- Version: 1.1
- Last updated: 2026-11-28
- Security: scan passed (2026-11-28); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/wordpress-to-laravel-13-migration
- Tags: ecommerce, api, database, apis-backend, data-databases, marketing-seo

## About this skill

A safety-gated migration runbook and starter toolkit for moving a WordPress site to Laravel 13. It is built for real sites with traffic, users, forms, media, and sometimes a store—not for a toy blog export. It is not a one-click converter: expect to write the site-specific importer and views.

**What it covers**

- **Audit:** WP-CLI inventory of plugins, themes, post types, taxonomies, postmeta, users, comments, media, and custom tables. Detects WooCommerce, page builders, multilingual, memberships, LMS, events, forms, and SEO plugins.
- **Extraction:** a portable JSONL bundle with posts, pages, custom post types, postmeta, terms, users, comments, media metadata, menus, options, redirects, and old slugs. Password hashes are opt-in, separate, and permission-protected.
- **Schema:** a Laravel 13 migration for posts, terms, media, comments, menus, redirects, settings, and import runs, with legacy IDs, hierarchy, paths, and SEO fields.
- **Content conversion:** Gutenberg blocks, shortcodes, Elementor/Divi/WPBakery/Beaver/Bricks pages, HTML sanitization, internal link rewriting, embeds, and a manual-review report.
- **Media:** originals vs `-scaled`/edited files, alt text, responsive images, EXIF privacy, SVG sanitization, missing/offloaded media, and URL strategy.
- **Auth:** exact support for WordPress phpass, WordPress 6.8+ `$wp$` bcrypt, vanilla bcrypt, and legacy MD5 hashes, plus a tested Laravel hasher stub that rehashes on login. Roles, 2FA, SSO, and reset campaigns are covered.
- **SEO:** Yoast, Rank Math, AIOSEO, and SEOPress metadata; redirect middleware; 301/410 policy; sitemap, robots, canonicals, JSON-LD, and Search Console checks.
- **WooCommerce:** products, variations, HPOS vs legacy orders, items, refunds, coupons, customers, reviews, subscriptions, payment-token limits, and reconciliation.
- **QA and cutover:** a full checklist, redirect verifier, content/auth/form/store tests, DNS runbook, rollback, and post-launch monitoring.

**Included files**

- `SKILL.md` — the nine-phase migration runbook and safety gates.
- Twelve reference guides — discovery, extraction, data model, content, media, auth, SEO, WooCommerce, plugins, Laravel 13 build, QA/cutover, troubleshooting.
- Three scripts — read-only WordPress audit, export bundle, redirect/URL verifier.
- Laravel stubs — WordPress password hasher, phpass checker, redirect middleware with a security feature test, and the migration schema.
- Templates — migration plan, URL map, migration report.

**Who it is for**

- Agencies replatforming client sites.
- Laravel teams inheriting a WordPress site.
- Developers who need a migration plan, not just a database dump.
- Anyone who must keep rankings, logins, and leads during a move.

**What it is not**

A one-click converter. It does not turn Elementor layouts into Blade components automatically, and it does not copy payment tokens or 2FA secrets. It gives your agent the process, the data model, the scripts, and the guardrails to do the migration correctly.

## Requires

- PHP 8.3+ and Composer
- MySQL
- PostgreSQL
- WP-CLI on the WordPress host
- A staging copy of WordPress
- Shell access (WSL on Windows)
- Optional: WooCommerce source site
- Optional: Redis
- Optional: Meilisearch

Windows: use WSL or Git Bash for the POSIX scripts.

## Known limitations

- Does not automatically convert page-builder layouts into Laravel components.
- Cannot migrate payment tokens, gateway subscriptions, WordPress sessions, or 2FA/passkey secrets.
- Cannot recover media that is missing from the source and its CDN/backups.
- Plugin-specific tables (memberships, LMS, events, forms) need a scope decision and separate work.
- WooCommerce HPOS orders, line items, refunds, and subscriptions need a site-specific export using the included table map; they are not in the generic content bundle.
- Requires access to a staging copy or a database dump; the REST API path is incomplete by nature.
- Not a WordPress admin clone. The Laravel admin is a new, smaller application.
- Large sites (100k+ posts, 100GB+ media) need chunking, queue workers, and a planned maintenance window.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the WordPress to Laravel 13 Migration skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does it need WP-CLI?

It is the preferred path. If WP-CLI is unavailable, the skill includes REST API and WXR fallbacks, with a clear list of what those paths cannot capture.

### Can it migrate passwords?

Yes, with explicit consent. It supports WordPress phpass, WordPress 6.8+ bcrypt, vanilla bcrypt, and legacy MD5, and rehashes to Laravel bcrypt on first login. It can also plan a reset campaign instead.

### Can it migrate WooCommerce?

Yes, with scope decisions. Products, variations, customers, orders, refunds, coupons, and reviews are covered. Payment tokens and gateway subscriptions generally cannot be copied; the skill explains the safe options.

### Does it convert Elementor, Divi, or WPBakery pages automatically?

No. Builder layouts are treated as design references and rebuilt in Blade or Livewire. Text, images, and links are extracted; the old builder CSS and JS are not shipped.

### Does it handle multilingual sites?

It audits WPML, Polylang, and TranslatePress, then asks for a launch-language decision. It does not machine-translate content.

### Will it modify or delete my WordPress site?

No. The audit and export are read-only. The importer targets Laravel. WordPress is kept read-only for rollback.

### Does it work on Windows?

Yes, through WSL or Git Bash. The scripts are POSIX shell. The Laravel app itself runs on Windows.

### Is it a one-click converter?

No. It is a runbook, data model, scripts, and guardrails. Your agent still writes the site-specific importer and rebuilds the views.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
