Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Blade

< >

Blade is a template language created in 2011.

#884on PLDB 13Years Old 41kRepos


Example 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 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>

View source

- Build the next great programming language About Resources Acknowledgements Part of the World Wide Scroll