Tinkerwell 4 is out now! Get the most popular PHP Scratchpad application. 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.

Learn everything about Laravel Websockets

Kickstart your Laravel Websockets project with this in-depth video course – sign up to our newsletter and get a notification when it launches.

Desktop Apps With Electron course