Tinkerwell 5 is out now! Your favorite PHP Scratchpad enters the AI age. Learn more

Laravel View Xray

Disabling Xray#

You can disable Xray by setting an environment variable called XRAY_ENABLED to false.

If you want to customize how xray should be enabled/disabled, you can publish the package configuration file using:

php artisan vendor:publish --provider=BeyondCode\\ViewXray\\ViewXrayServiceProvider

And modify the enabled key in the configuration file.

Tinkerwell: The PHP Scratchpad

Enjoy coding and debugging in an editor designed for fast feedback and quick iterations. It's like a shell for your application – but with multi-line editing, code completion, and more.