sixnapps/porto-template-bundle
Composer 安装命令:
composer require sixnapps/porto-template-bundle
包简介
This bundle provides template porto for symfony
关键字:
README 文档
README
Intégration de Porto 7.2.0 template dans symfony 4.
Branch master of this bundle requires at least PHP 7.1 and Symfony 4.2 components
Installation
en console
- composer require sixnapps/porto-template-bundle
- bin/console assets:install --symlink
ajouter au fichier config/services.yaml du projet parent:
...
services:
...
sixnapps.porto.templating.services:
class: 'Sixnapps\PortoTemplateBundle\Templating\Templating'
public: true
arguments:
$templating: '@templating'
sixnapps.porto.twig.services:
class: 'Sixnapps\PortoTemplateBundle\Twig\TwigExtension'
public: true
arguments:
$templating: '@sixnapps.porto.templating.services'
...
ajoute la route suivante au projet parent :
sixnapps_porto:
resource: "@SixnappsPortoTemplateBundle/Resources/config/routing.yaml"
- lancer bin/console server:start
- le template est accessible depuis : http://127.0.0.1:800x/porto-template
统计信息
- 总下载量: 220
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2019-02-18