The migration approach

Six phases. Clear decisions.

Start with a read-only inventory. Define what must work, rebuild the agreed features and check the result before moving production traffic.

From inventory to approved cutover.

Your application, rebuiltPHP → Motoko
A PHP site passes through your coding agent into a Motoko application on the Internet Computer, in layers for UI, logic and data, run by replicated nodes.
The coding agent helps build the replacement. Your team defines the requirements and reviews the result.
  1. Preserve the experience

    Agreed content, URLs and critical journeys.

  2. Replace the runtime

    Selected PHP logic rebuilt in Motoko.

  3. Control the transition

    Scope, data and cutover approved by you.

Platform notes for the PHP you run

For each plugin or module, decide what to rebuild, replace or retain. Validate retained services and integrations.
  1. 01

    Inventory

    Map pages, routes, data, users, files, jobs and integrations. Establish what must keep working.

    Read-only inventory
  2. 02

    Approve the plan

    Review architecture, feature gaps, data handling, costs and acceptance checks before implementation.

    Approval gate
  3. 03

    Build the application

    Implement the agreed frontend changes and Motoko backend. Recreate the critical workflows and integrations.

    Working application
  4. 04

    Move data & files

    Where needed, import data and files in controlled batches. Check records, relationships and file integrity.

    Checked data & files
  5. 05

    Rebuild sign-in

    Where needed, implement sign-in and verified account linking. Test roles, permissions and administrator journeys.

    Verified access
  6. 06

    Approve cutover

    Review test results, recovery procedures, source code and operating instructions. Approve any write freeze, DNS change and decommissioning separately.

    Approval gate
See the seven-part migration mapPages, logic, data, files, access, integrations & URLs
Example migration map: existing components, possible destinations and verification.
Existing component Target in the agreed scope Verification
Pages & URLs Rebuilt frontend in an asset canister on ICP Check content, accessibility, routes and redirects.
PHP logic Motoko methods for the selected backend features Test business rules, permissions and error handling.
Database Motoko canister state for data included in the move Reconcile records, relationships and update behavior.
Files & uploads ICP storage or retained storage, according to data requirements Check file counts, integrity, access and upload limits.
Accounts & roles Reviewed sign-in, verified account linking and explicit permissions Test user and administrator journeys, including denied access.
Jobs & integrations Motoko timers or retained services, with reviewed interfaces Check schedules, failures, retries and external dependencies.
Domain & routing Your domain with routing matched to the chosen architecture Check DNS, certificates and important links before cutover.

Define the checks before the build.

Choose representative user journeys, record counts, access rules and important URLs. These checks give the team a concrete way to compare the replacement with the service it must preserve.

Start the inventory in your project.

The migration skill includes the workflow, platform notes and reference tools for your developer or AI coding agent.