February 26-28, 2025
Montreal, Canada

Upgrading PHP applications

Does upgrading a legacy application seem like a mammoth task? Do functions no longer accept the arguments the application gives them, return different values, or don't even exist anymore? Does testing the code or using a modern framework seem like an unattainable dream?

This presentation will walk you through an upgrade of an old and poorly designed application to the latest version of PHP. Together, we'll write tests for a seemingly untestable beast, discover and solve a myriad of version compatibility issues, introduce a framework, and refactor things along the way to make it easier to upgrade and maintain in the future.

By the end, you will be equipped with the knowledge and confidence to convert legacy applications into modern code, which will make you happy to go to work.

Participant should have:

  • Knowledge of PHP and OOP
  • At least a basic understanding of test automation

Pre-workshop preparations:

  • Install Docker
  • Install Git
  • Clone this repository: https://github.com/afilina/php-upgrade-workshop
  • From the cloned directory, run "docker-compose up". It will build and start your containers. Now you're ready for the workshop. Don't expect the app to run in the browser. It's broken on purpose.

Duration:

  • 1 day
  • 9:00 am to 5:00 pm
  • 1 hour lunch break included at the hotel's restaurant
  • 15 min coffee break every morning and afternoon

Anna Filina

Filina Consulting

Anna has been a web developer since 1997. In her long consulting career, she developed an expertise in refactoring very old applications to be modern and testable. She is passionate about sharing her skills with fellow developers through her blog, YouTube channel, conferences and various articles. Anna also has an eye for technical debt, for which she then devises strategies that save companies a lot of money.

Read More

Montreal 2025 sponsored by

Become a sponsor