laravel bind variable to alpine js code example Example: using laravel variable inside alpine js <div x-data="{ showPanel: {{ $showPanel }} }"></div>