phps-cans/universal-module.twig
Composer 安装命令:
composer require phps-cans/universal-module.twig
包简介
Cross-framework module for twig.
关键字:
README 文档
README
This package integrates twig/twig in any container-interop compatible framework/container.
Installation
composer require phps-cans/universal-module.twig
Once installed, you need to register the PSCS\Universal\Module\TwigServiceProvider into your container.
If your container supports Puli integration, you have nothing to do. Otherwise, refer to your framework or container's documentation to learn how to register service providers.
Introduction
This service provider is meant to create a Symfony\Component\Console\Application.
Provided services
This service provider provides the following services:
| Service name | Description |
|---|---|
ViewsDirectory |
The path to your views |
\Twig_Loader_Filesystem::class |
Twig Filsesystem loader |
Twig_Environment::class |
Twig environment using Filesystem loader |
Project template courtesy of thecodingmachine/service-provider-template
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-19