@php $i = 1 @endphp
@php ($i = 1)
var t = "{!! $total !!}";
@php ($names = [])
// In the main router. return view("profile")->with('username', "CoolGuy") // In the blade. <?php echo username ?>;