Frequently Asked Questions

Common questions about PHP systems architecture consultancy, automated refactoring with Rector, database layer modernisation, and how we work.

What does PHP systems architecture consultancy involve?

PHP systems architecture consultancy means designing or redesigning the structural foundation of a PHP application — separating domain logic from framework concerns, defining service boundaries, choosing appropriate design patterns, and creating a layered architecture that can be upgraded incrementally.

We assess your current structure, identify coupling and cohesion problems, and produce an actionable roadmap to move toward a clean, maintainable architecture. See our dedicated PHP systems architecture service page for more detail.

What is Rector and how do you use it for automated PHP refactoring?

Rector is an open-source PHP refactoring tool that applies automated code transformations using AST (Abstract Syntax Tree) analysis. It can upgrade PHP syntax, migrate deprecated APIs, enforce coding standards, and apply framework-specific migrations — all without manual line-by-line changes.

We use Rector as the core of our automated refactoring service, writing custom rules where needed and running it against your codebase in safe, auditable batches. See our automated PHP refactoring service page for more.

How do you refactor the database layer safely?

We use Indoctrinate — our open-source tool that synchronises your database with Doctrine specifications and surfaces schema inconsistencies automatically. Run php bin/indoctrinate fix --dry to preview all changes, then apply them safely.

On the code side, we apply changes incrementally: introducing ORM mappings alongside existing raw queries using a dual-path pattern, running both in parallel to compare results, and only cutting over once behaviour is verified. No big-bang schema changes — every step is production-safe and reversible.

Learn more on our database refactoring service page.

How long does automated refactoring with Rector take?

Timeline depends on codebase size and the number of custom rules required. A focused PHP 7 → 8 upgrade on a medium-sized application typically takes 2–4 weeks of applied Rector runs, review, and testing. Broader framework migrations or custom-rule development take longer. We scope this precisely during the discovery phase.

How do you manage all the layers — infrastructure, framework, domain logic, database, views, integrations and cross-cutting concerns?

We break an application down into seven layers and modernise each one in the right order. That way complexity is contained and upgrades don't blow up downstream.

  • Infrastructure / Environment: PHP runtime, extensions, containers, servers, build pipelines. Assessed upfront with Migrator.
  • Framework: routing, dependency injection, request/response, authentication/authorization.
  • Domain Logic: business rules, services, entities, events — separated so it outlives any framework. Upgraded with Rector.
  • Database / Persistence: schema, migrations, ORM mappings, raw queries. Normalised and Doctrine-synced with Indoctrinate.
  • Presentation / Views: templates, frontend assets, emails, reports. PHP views converted to Twig with View Converter.
  • Integrations / APIs: external SDKs, internal APIs, webhooks, queues. Updated and versioned safely.
  • Cross-Cutting Concerns: security, logging, monitoring, caching, background jobs, configuration.

We combine open-source tools we build and maintain — Migrator, Rector, Indoctrinate, View Converter — with our start-one-finish-one discipline to ensure upgrades are safe, predictable, and never chaotic.

Do you work on WordPress?

No. We focus on non-WordPress PHP systems and bespoke applications where migration risk and valuation impact are highest.

Can you work with our in-house developers?

Yes. We embed alongside your team, bringing upgrade tooling, checklists and senior guidance. Your team retains ownership; we eliminate risk.

How do you minimise downtime?

We ship in small slices behind feature flags, with automated smoke tests and database safety checks. No big-bang releases.

What size projects do you usually take on?

Typical engagements range from €150k to €200k, delivered in production-safe increments. Smaller audits and advisory projects are also available.

Do you offer white-label services for agencies?

Yes. We operate as a white-label migration partner for digital agencies. You keep the client relationship, we deliver the migration.