How to do comments in Blade files?

October 26, 2018

Comments in Blade are very simple!

You can either do normal PHP comments:

<?php
<? /* some comment here */
// or single line comments
# or these :)
?>

Or blade comments:

<?php

If you use an IDE that supports blade formatting (such as PHPStorm) then you can get it to output blade comments in the same style as normal comments.