Is there any software I can use to check my php code? Preferably CLI. Thanks in advance!

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

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

    Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.

  • PHPStan as mentioned, there's also psalm and Phan.

  • Psalm

    A static analysis tool for finding errors in PHP applications

  • PHPStan as mentioned, there's also psalm and Phan.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • PHPStan

    PHP Static Analysis Tool - discover bugs in your code without running it!

  • PHPStan as mentioned, there's also psalm and Phan.

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