Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/PhiloNL/Laravel-Blade

Use the simple and yet powerful Laravel Blade templating engine as a standalone component.
https://github.com/PhiloNL/Laravel-Blade

Last synced: 5 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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

```json
{
"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.

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

### Usage

```php
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