Laravel add variable to blade template Posted on 18 May 2018 By William Beh In Laravel No comment @php($var = "whatever") or @php $var = "whatever" @endphp Written by William Beh The author didnt add any Information to his profile yet ←