Is there an equivalent to "console.log" (from JS) in PHP?

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
  • PHPDebugConsole

    Browser/javascript-like logger/console class for PHP

  • Take a look at xdebug There's also a console port that logs $_POST and request headers, etc: https://www.bradkent.com/php/debug

  • PHP Debug Bar

    Debug bar for PHP

  • You can also try something like http://phpdebugbar.com/ which maybe will be somewhere in the middle.

  • 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
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