Migrating a legacy PHP app to Composer

The app had a lib folder full of copied libraries with no version numbers. Moving it to Composer took three careful steps.

Part 1: The shape of the old code

Six weeks later the scary file was three smaller classes with names that described what they did, and deploys stopped needing a volunteer.

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 *