2017 © Pedro Peláez
 

library laravel-blade

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

image

philo/laravel-blade

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

  • Wednesday, May 4, 2016
  • by PhiloNL
  • Repository
  • 22 Watchers
  • 328 Stars
  • 174,761 Installations
  • PHP
  • 92 Dependents
  • 0 Suggesters
  • 85 Forks
  • 13 Open issues
  • 6 Versions
  • 10 % Grown

The README.md

Installation (Blade Laravel 5.1)

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

{
    "require": {
        "philo/laravel-blade": "3.*"
    }
}

Installation (Blade Laravel 4)

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

{
    "require": {
        "philo/laravel-blade": "2.*"
    }
}

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 Philo\Blade\Blade;

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

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

You can use all blade features as described in the Laravel 5.1 documentation: https://laravel.com/docs/5.1/blade, (*3)

The Versions

04/05 2016

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

04/12 2015

v3.1

3.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 2015

v3.0

3.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

02/12 2014

v2.1

2.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

11/10 2014

2.0

2.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

27/02 2014

v1.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