Legacy PHP Application Modernization

Dev Ops


Business Objective

Modernize legacy PHP Application for maintainability and new feature enhancements.

Summary: Technical Implementation

Technical Considerations

Retain git history. No functional changes to the application. Update to use modern PHP practices and standards PSR-4.

1) Update project to use composer for dependency management and autoloader.

2) Moderize folder structure, file name, and class name conventions.

3) Improve clean code

  • refactor code
  • use/prefer class objects over global functions
  • update to use of namespaces

4) Ensure application works “as is” after changes.

Overall, the technical implementation focused on successfully navigating and trouble shooting issues (auto loading, global, class references and runtime errors) encountered to continue development and long term support of PHP web application. A key factor was the existing testing framework and test cases that were already in place. This allowed for a more efficient and effective approach to the modernization process. The testing framework was used to validate the changes made to the code base, ensuring that the application continued to function as expected after the desired modernization process was complete successful.

Skills Footprint:

Category Technical Specifics
general Web Development
standards HTML * CSS * JSON * Javascript * PHP
tools VSCode * GIT * Composer
concepts Front End Development * Responsive Design * UI/UX
packages React * Jest