laravel include if

@includeIf('view.name')

This is how you can include a laravel view if it exists. In this case it will only include the view.name, if that specific view exists.

BETA Snippet explanation automatically generated by OpenAI:

No explanation generated yet.

Snippet By Tony Lea

·

Created October 7th, 2021

·

Report Snippet