atom-beautify/examples/simple-jsbeautifyrc/blade/expected/test.blade.php

32 lines
503 B
PHP

<html>
<head>
<title>App Name - @yield('title')</title>
</head>
<body>
@section('sidebar') This is the {{ $mater }} sidebar.
@show
<div class="container">
@yield('content')
</div>
@component('alert')
@slot('title') Forbidden
@endslot
<strong>Whoops!</strong> Something went wrong!
@endcomponent
@foreach ($users as $user)
@if ($user->type == 1)
@continue
@endif
<li>{{ $user->name }}</li>
@if ($user->number == 5)
@break
@endif
@endforeach
</body>
</html>