wodcz/laravel-latte

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Latte templating engine integration with Laravel

1.0.0-alpha 2016-07-24 18:01 UTC

This package is auto-updated.

Last update: 2021-10-31 00:17:02 UTC


README

Integration of Latte: amazing template engine for PHP to Laravel

This package registers Latte\Engine service with proper compiled view directory and auto-recompile based on debug mode.

Installation

composer require wodcz/laravel-latte:dev-master

then register

\wodCZ\LaravelLatte\LatteProvider::class,

Disclaimer

This will only work with default view Factory (\Illuminate\View\Factory)

This bridge contains no tests, as I don't know how to test this :)

This is my very-first integration, it was not used more than by renaming welcome.blade.php to welcome.latte. Things may not work.