WordPress plugin intelligence profile

Blade

Brings Laravel's great template engine, Blade, to Wordpress. Just install and start using blade in your theme.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.9
Current version0.3.7
WordPress coverageTested up to WordPress 3.9
Minimum stackWP 3.0.0 · PHP —
Directory statusactive
Last directory update1 Dec 201510y ago
Active installations200Adoption metric — not a quality score
WordPress.org rating4.0 / 5 from 7 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Blade version 0.3.7 as active, updated 10y ago and tested up to WordPress 3.9.

Overview

About this plugin

Blade is the template engine for Laravel, a very popular php framework, developed by Taylor Otwell. This plugin brings the same template engine to wordpress.

Using a template engine will result in much cleaner template files and quicker development. Normal php can still be used in the template files.

The plugin also adds a wordpress specific snippet to blade. Check out the examples for more info.

echo/print

{{$foo}}

Turns into…

if()

jpg" /> @endif

Turns into…

jpg” />

the loop

@wpposts <a href="{{the_permalink()}}">{{the_title()}}</a><br> @wpempty <p>404</p> @wpend

Turns into…

<a href="”>

404

wordpress query

') }}</li> @wpend </ul>

Turns into….

>

>

>

  • <a href="”>

-

Advanced Custom Fields

<ul> @acfrepeater('images') <li>{{ get_sub_field( 'image' ) }}</li> @acfend </ul>

Turns into…

  • <img src="” />

Including other templates

To include a file with blade use:

@include(‘header’)

php”. g. the_header(), will not be compiled by Blade, however the php code in the file is still executed.

Layouts

php:

@yield(‘content’)

php:

@layout(‘master’)

@section('content') <p>Lorem ipsum</p> @endsection

See the Blade documentation for more info.

com/MikaelMattsson/blade

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • blade
  • engine
  • laravel
  • template
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.9
Minimum requirementsWordPress 3.0.0 · PHP not listed
Update activity1 Dec 201510y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.