Let's say you get an old, PHP5, mysql_*, horrible codebase, riddled with security issues and no composer. Your task is to make it work on PHP7+.

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Rector

    Instant Upgrades and Automated Refactoring of any PHP 5.3+ code

  • I'd start with rector: https://github.com/rectorphp/rector

  • PHPCompatibility

    PHP Compatibility check for PHP_CodeSniffer

  • also, PHPCompatibility https://github.com/PHPCompatibility/PHPCompatibility is a phpcs ruleset to detect deprecated/removed stuff.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • php7mar

    Discontinued PHP 7 Migration Assistant Report (MAR)

  • Run the code base through this https://github.com/Alexia/php7mar

  • PHP CS Fixer

    A tool to automatically fix PHP Coding Standards issues

  • once these are done, composer require php codestyle fixer.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts