承接 schranz-templating/laravel-latte-integration 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

schranz-templating/laravel-latte-integration

最新稳定版本:0.1.0

Composer 安装命令:

composer require schranz-templating/laravel-latte-integration

包简介

A integration of template renderer into laravel via latte template engine.

README 文档

README

Integrate the templating Latte Adapter into the Laravel Framework.

Part of the Schranz Templating Project.

Installation

Install this package via Composer:

composer require schranz-templating/laravel-latte-integration

Depending on the projects setup maybe following need to be added to the config/app.php:

    'providers' => [
        // ...
        Schranz\Templating\Integration\Laravel\Latte\SchranzTemplatingLatteProvider::class,
    ],

Configuration

The example and default configuration can be found in config/schranz_templating_latte.php.

Extensions

To extend Latte functionality you can create a new service extending from Latte\Extension the service need to be tagged with latte.extension to be registered as Latte Extension:

$app->tag(\App\Latte\MyExtension::class, 'latte.extension');

Read more about Latte Extensions in the Latte documentation.

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-18