Migrating a legacy PHP app to Composer

Part 3: What changed for the team

We started by adding types at the edges: return types on the functions we called most, and a static analysis baseline so new code could not make things worse.

Make the change easy, then make the easy change.

Kent Beck

10 comments on “Migrating a legacy PHP app to Composer”

  1. We tried something similar last year and gave up halfway. Seeing it laid out step by step makes me want to try again.

      1. Jonah Whitfield

        Fair point, and thanks for the thoughtful disagreement. It really depends on the size of the team.

        1. Jonah Whitfield

          Good question. It took about three weeks, most of it waiting for review and measuring the results.

    1. Jonah Whitfield

      Fair point, and thanks for the thoughtful disagreement. It really depends on the size of the team.

    2. Jonah Whitfield

      Fair point, and thanks for the thoughtful disagreement. It really depends on the size of the team.

Leave a comment

Your email address will not be published. Required fields are marked *