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.

Laravel Herd

Herd is a blazing fast, native Laravel and PHP development environment for macOS. It includes everything you need to get started with Laravel development, including PHP and nginx. Once you install Herd, you're ready to start developing with Laravel.

Herd is available for macOS and Windows.

Learn more