Blade is an actively used template language created in 2011.

8Years Old 5Users 0Jobs
  • Blade ranks in the top 50% of languages
  • the Blade website
  • Blade first appeared in 2011
  • file extensions for Blade include blade and bladephp
  • I have 26 facts about Blade. what would you like to know? email me and let me know how I can help.

Example code from the web:

<!-- Stored in resources/views/layouts/app.blade.php -->

<html>
    <head>
        <title>App Name - @yield('title')</title>
    </head>
    <body>
        @section('sidebar')
            This is the master sidebar.
        @show

        <div class="container">
            @yield('content')
        </div>
    </body>
</html>

Example code from Linguist:

<!DOCTYPE html>
<html>
<head>
    <title>@yield('title', 'We love GitHub')</title>
    @stack('scripts')
    @stack('styles')
</head>
<body>
    @include('partials.nav')

    @yield('content')

    <ul>
        @foreach($foo as $bar)
        <li>{{ $bar }}</li>
        @endforeach
    </ul>

    {!! $raw_content !!}
</body>
</html>

Trending Repos

repo stars description

Last updated November 16th, 2019