04 April 2024
Zuzana
Looking deeper into code with Ray
Ray is a lightweight desktop app that will help you to debug your code faster. But Ray is more than just a dd()
call in disguise.
An interesting method that Ray comes with is ray()->count()
which will count how many times a piece of code is called.
This method can be paired with ray()->caller()
which will tell you what code called this method.
You can also use Ray to display your PHP info right in the output by calling ray()->phpinfo()
.
Understand and fix bugs faster
Ray is a desktop application that serves as the dedicated home for debugging output. Send, format and filter debug information from both local projects and remote servers.