2017 © Pedro Peláez
 

library laravel-blade

Use the simple and yet powerful Laravel Blade templating engine as a standalone component.

image

50onred/laravel-blade

Use the simple and yet powerful Laravel Blade templating engine as a standalone component.

  • Wednesday, May 28, 2014
  • by sblawrie
  • Repository
  • 15 Watchers
  • 0 Stars
  • 303 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 85 Forks
  • 0 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

Installation

The package can be installed via Composer by requiring the "50onred/laravel-blade": "1.3" package in your project's composer.json., (*1)

[
    "require": {
        "50onred/laravel-blade": "1.3"
    }
]

Usage

<?php

/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|--------------------------------------------------------------------------
|
| Composer provides a convenient, automatically generated class loader
| for our application. We just need to utilize it! We'll require it
| into the script here so that we do not have to worry about the
| loading of any our classes "manually". Feels great to relax.
|
*/

require 'vendor/autoload.php';

use FiftyOnRed\Blade\Blade;

$views = __DIR__ . '/views';
$cache = __DIR__ . '/cache';

$blade = new Blade($views, $cache);
echo $blade->view()->make('hello');

You can use all blade features as described in the Laravel 4 documentation: http://laravel.com/docs/templates#blade-templating, (*2)

The Versions

28/05 2014

dev-master

9999999-dev

Use the simple and yet powerful Laravel Blade templating engine as a standalone component.

  Sources   Download

MIT

The Requires

 

by Philo Hermans

laravel blade

28/05 2014

1.3

1.3.0.0

Use the simple and yet powerful Laravel Blade templating engine as a standalone component.

  Sources   Download

MIT

The Requires

 

by Philo Hermans

laravel blade

28/05 2014

1.2

1.2.0.0

Use the simple and yet powerful Laravel Blade templating engine as a standalone component.

  Sources   Download

MIT

The Requires

 

by Philo Hermans

laravel blade

21/05 2014

1.1

1.1.0.0

Use the simple and yet powerful Laravel Blade templating engine as a standalone component.

  Sources   Download

MIT

The Requires

 

by Philo Hermans

laravel blade

18/04 2014

1.0

1.0.0.0

Use the simple and yet powerful Laravel Blade templating engine as a standalone component.

  Sources   Download

MIT

The Requires

 

by Philo Hermans

laravel blade