Tinkerwell 5 is out now! Your favorite PHP Scratchpad enters the AI age. Tinkerwell 5 is out now! Your favorite PHP Scratchpad enters the AI age with conversational AI, MCP and more. Learn more
If you want to exclude certain views from being processed by Xray, you can do this by adding them to the configuration file.
Publish the configuration file using:
php artisan vendor:publish --provider=BeyondCode\\ViewXray\\ViewXrayServiceProvider
This will publish a file called xray.php in your config folder.
This is the content of the configuration file:
return [
/*
* Determines if the Xray package should be enabled.
*/
'enabled' => env('XRAY_ENABLED', true),
/*
* If you want to exclude certain views from being processed by Xray,
* you can list them here. Be aware that the check only applies to the
* root views that you add here. If these views include other views
* themselves, they need to be excluded manually.
*/
'excluded' => [
//
],
];
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