PHPackages                             revelateur/bladerunner - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. revelateur/bladerunner

ActiveWordpress-plugin[Templating &amp; Views](/categories/templating)

revelateur/bladerunner
======================

1.8.2(4y ago)01.4k1MITPHPPHP ^7.3 || ^8.0

Since Dec 14Pushed 4y agoCompare

[ Source](https://github.com/revelateur/bladerunner)[ Packagist](https://packagist.org/packages/revelateur/bladerunner)[ RSS](/packages/revelateur-bladerunner/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (70)Used By (0)

Bladerunner
===========

[](#bladerunner)

WordPress plugin for Laravel Blade templating.

To install it to your Composer based WordPress installation:

```
composer require revelateur/bladerunner

```

Activate the plugin inside WordPress and templates with \*.blade.php are inspected and active. Your theme still needs an index.php due to WordPress basic functionality. When removed the theme is known as broken.

If you don't use a composer based WordPress development environment you can download the latest distributed plugin at [Bladerunner site http://bladerunner.aekab.se](http://bladerunner.aekab.se) and install it the common way with zip upload to WordPress via wp-admin.

Releases to this plugin is listed last in this readme.

Hello World
-----------

[](#hello-world)

1. Install the library with composer
2. Make sure the cache-folder is writeable in uploads, eg `../wp-content/uploads/.cache`
3. Activate the plugin
4. Create a view, eg:

```

Hello World Page rendered at {{ date('Y-m-d H:i:s') }}
```

5. In your `index.php`, add a global call for the view created, eg:

```
