Showing 10 of 1,322 results.

Ignoring Parts of a Template | Formatter Configuration and Usage

Entire sections of a Blade template can be ignored by surrounding it with two special comments: 1 < div > 2 {{-- format-ignore-start --}} 3 The template code inside this section will be ignored when formatting. 4 {{-- format-ignore-end --}} 5 </...

Laravel Application Helper: response

response($content = '', $status = 200, array $headers = []) The response helper function is a useful function that can be used to accomplish two different tasks. If no arguments are supplied to the response function, an implementation of...

Laracon, Blade and What's Next

I spent last week in Denver with the Statamic team to attend Laracon and hang out. It was a great time, and a much-needed change of pace from my basement office staring into glowing rectangles. Much fun was had, as well as many discussions...

Replacing the Core Blade Compiler | Blade Compiler

Replacing the core Laravel Blade compiler entirely is not recommended, mainly due to the high likelihood of undesirable/unpredictable behavior when interacting with third-party libraries and Laravel itself. The main issues likely to arise are...