Run ray(), dump(), and dd() From Any PHP Script – Laravel News

Laravel News
Laravel News
Laravel News
March 8th, 2022

Global Ray is a package that enables ray(), dump(), and dd() from any PHP script:
๐Ÿš€ Global Ray has been released.

It allows you to use "dd()โ€, "dump()โ€ and "ray()โ€ in any PHP file on your system.#laravel #php #package
While developers in the Symfony and Laravel communities enjoy debugging functions like dump() that provide a nice output for developers who want to debug values in PHP applications, not all PHP communities and environments in which you might develop have dump functions.
Using Global Ray, you can run useful debugging functions in any PHP script, thanks to a PHP INI setting auto_prepend_file:
After installation you can run ray(), dump(), and dd() from any PHP script on your system.
You can download and install this package for free on GitHub at spatie/global-ray. Also, check out Freek Van der Herten’s in-depth post on why this package was created and how it works.
Filed in:

Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.
Join 33,000+ others and never miss out on new tips, tutorials, and more.
The official Laravel job board connecting the best jobs with top talent.
March 18th, 2022
March 17th, 2022
March 16th, 2022
Subscribe to the Email Newsletter
Follow Laravel News on
Design & development by
© 2012 – 2022 Laravel News
A division of dotdev inc.


Related Post

Leave a Reply

Your email address will not be published.

Translate ยป