I might not recommend using this pattern to pass hyper-sensitive information because window; however, I do like good object composition and function composition, so I appreciate the data flow channel that this pattern creates. spa.blade.php (root layout file) @php
$config = [
'appName' => config('app.name'),
'jwt' => […