Skip to content
DedicatedPHP Contact
Decision tool

Matrix for maintaining, refactoring or rewriting a PHP application

There is no universal answer. This matrix forces comparison of risk, knowledge, data, coverage, change cost and continuity before choosing a path.

Engineering tools for diagnosis, option comparison, architecture review and turning decisions into a phased plan.
Connected engineeringEngineering tools for diagnosis, option comparison, architecture review and turning decisions into a phased plan.
Decision map

From context to a verifiable outcome

We connect each need to a decision, evidence and a review condition. The matrix does not replace analysis: it makes visible the assumptions that must be confirmed before scope expands.

ContextDecisionExpected evidenceReview
01System criteria: What shapes technical feasibility.Clarity of business rules and boundaries. · Test coverage and regression capability.Coupling to data, integrations and infrastructure. · Incident frequency and ease of diagnosis.Score independently across business, product, engineering and operations.
02Delivery criteria: What the organization can sustain.Downtime tolerance and data migration. · Team capacity and available knowledge.Need to deliver features during change. · Budget, horizon and cost of running two systems.Attach evidence and confidence level.
03Options: Four paths that may be combined.Maintain: stabilize and reduce risk without broad structural change. · Refactor: improve boundaries within the existing system.Progressive replacement: extract capabilities while both bases coexist. · Rewrite: build another foundation and plan a full migration.Compare phased options, not only end states.
04Warning signs: When to challenge a quick decision.Rewrite driven only by dislike of the code. · Refactoring without an observable boundary or outcome.Maintenance ignoring unsupported versions or critical risk. · Migration without a data, user and rollback strategy.Review the decision as constraints or knowledge change.
01Understand

Agree the problem, its users, constraints and consequences.

02Bound

Choose a proportionate intervention and state what remains outside it.

03Deliver

Produce a usable capability together with its technical evidence.

04Verify

Review behaviour, risk and the next decision against real data.

Preparation

Complete the resource with evidence, not ideal answers

A checkbox helps when it represents a verified situation and leads to a conversation or decision.

Bring together people who understand product, development and operations. For each section, identify repositories, configuration, metrics, incidents, screenshots or examples that justify the answer. If evidence does not exist, record the uncertainty: it may matter more than completing the checkbox.

At the end, group findings by impact and dependency. Separate immediate controls, required investigation and structural improvements. The result should state what will be done, who can decide it and how it will be verified, avoiding a wish list without priority.

  1. EvidenceSource or example supporting each answer.
  2. ImpactConsequence for users, business or operations.
  3. PriorityOrder based on risk, dependency and effort.
  4. ActionOwner, boundary and outcome verification.
01

System criteria

What shapes technical feasibility.

02

Delivery criteria

What the organization can sustain.

03

Options

Four paths that may be combined.

04

Warning signs

When to challenge a quick decision.

Recommended use

Turn answers into decisions

  1. Score independently across business, product, engineering and operations.
  2. Attach evidence and confidence level.
  3. Compare phased options, not only end states.
  4. Review the decision as constraints or knowledge change.