Title: Blade Engine
Author: Lars Jansen
Published: <strong>2017年8月6日</strong>
Last modified: 2017年8月6日

---

プラグインを検索

![](https://ps.w.org/wp-blade-engine/assets/banner-772x250.png?rev=1709215)

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://ps.w.org/wp-blade-engine/assets/icon-256x256.png?rev=1709215)

# Blade Engine

 作者: [Lars Jansen](https://profiles.wordpress.org/lars-2/)

[ダウンロード](https://downloads.wordpress.org/plugin/wp-blade-engine.1.0.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/wp-blade-engine/#description)
 * [レビュー](https://ja.wordpress.org/plugins/wp-blade-engine/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/wp-blade-engine/#installation)
 * [開発](https://ja.wordpress.org/plugins/wp-blade-engine/#developers)

 [サポート](https://wordpress.org/support/plugin/wp-blade-engine/)

## 説明

This plugin adds and loads philo/laravel-blade to your WordPress installation.
 
It loads two functions, which enable you to use the Blade render engine in your 
templates which make your themes better readable.

### Usage

The plugin adds two functions:
 – render_blade_view (void, echoes the content) –
get_rendered_blade_view (string)

Both functions take the same parameters:
 1. view (required, string) 2. attributes(
optional, array)

When installed, the plugin creates a “views” folder in your theme directory. This
is where you put your blade templates (with the .blade.php extension).
 The “views”
folder may contain subfolders.

### Example

wp-contents/themes/your-theme/views/components/article.blade.php:
 `blade @if($show_text){{
$text }} @endif

wp-contents/themes/your-theme/functions.php:
 `php <?php render_blade_view('components.
article', [ 'show_text' => true, 'text' => 'Hello World!', ]);

When ran on any page, it will output “Hello World!”

### Blade

Blade is a template engine which is mainly used by Laravel. More information here:
https://laravel.com/docs/5.1/blade
 This plugin supports all the directives which
are available in Laravel 5.1.

### License

This file is part of Blade Engine.

Blade Engine is free software: you can redistribute it and/or modify it under the
terms of the GNU General Public License as published
 by the Free Software Foundation.

Blade Engine is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

Get a copy of the GNU General Public License in [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).

## インストール

 * Upload plugin files to your plugins folder, or install using WordPress built-
   in Add New Plugin installer;
 * Activate the plugin;

## FAQ

  Installation Instructions

 * Upload plugin files to your plugins folder, or install using WordPress built-
   in Add New Plugin installer;
 * Activate the plugin;

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

Blade Engine はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献し
ています。

貢献者

 *   [ Lars Jansen ](https://profiles.wordpress.org/lars-2/)

[“Blade Engine” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wp-blade-engine)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/wp-blade-engine/)するか、
[SVN リポジトリ](https://plugins.svn.wordpress.org/wp-blade-engine/)をチェックする
か、[開発ログ](https://plugins.trac.wordpress.org/log/wp-blade-engine/)を [RSS](https://plugins.trac.wordpress.org/log/wp-blade-engine/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.0.0

 * Initial version

## メタ

 *  バージョン **1.0.1**
 *  最終更新日 **9年前**
 *  有効インストール数 **10+**
 *  WordPress バージョン ** 4.8またはそれ以降 **
 *  検証済み最新バージョン: **4.8.28**
 *  言語
 * [English (US)](https://wordpress.org/plugins/wp-blade-engine/)
 * タグ
 * [Blade](https://ja.wordpress.org/plugins/tags/blade/)[engine](https://ja.wordpress.org/plugins/tags/engine/)
   [Laravel](https://ja.wordpress.org/plugins/tags/laravel/)[render](https://ja.wordpress.org/plugins/tags/render/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wp-blade-engine/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/wp-blade-engine/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/wp-blade-engine/reviews/)

## 貢献者

 *   [ Lars Jansen ](https://profiles.wordpress.org/lars-2/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/wp-blade-engine/)