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