Back to overview
Looking deeper into code with Ray
4 April 2024
Zuzana
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().

Stay in the loop with updates & promotions for Ray
We only send a few emails a year.
Debug without breaking your flow
Ray keeps all your debug output neatly organized in a dedicated desktop app.
Licenses are valid for 1 year and managed through Spatie. Licenses purchased before Ray 3 remain valid. VAT is calculated at checkout.