| Package Data | |
|---|---|
| Maintainer Username: | PhiloNL |
| Maintainer Contact: | me@philohermans.com (Philo Hermans) |
| Package Create Date: | 2014-02-12 |
| Package Last Update: | 2022-12-21 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-18 03:01:14 |
| Package Statistics | |
|---|---|
| Total Downloads: | 660,721 |
| Monthly Downloads: | 2,207 |
| Daily Downloads: | 80 |
| Total Stars: | 357 |
| Total Watchers: | 22 |
| Total Forks: | 94 |
| Total Open Issues: | 19 |
The package can be installed via Composer by requiring the "philo/laravel-blade": "3.*" package in your project's composer.json.
{
"require": {
"philo/laravel-blade": "3.*"
}
}
The package can be installed via Composer by requiring the "philo/laravel-blade": "2.*" package in your project's composer.json.
{
"require": {
"philo/laravel-blade": "2.*"
}
}
<?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