<?php Route::get('/', function () { return view('welcome', ['name' => 'Samantha']); }); ?> // In Blade <?php {{ $name }} ?>