承接 widmogrod/zf2-mustache-module 相关项目开发

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

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

widmogrod/zf2-mustache-module

Composer 安装命令:

composer require widmogrod/zf2-mustache-module

包简介

Zend Framework 2 module providing integration with the Mustache rendering engine.

README 文档

README

Summery

Zend Framework 2 module providing integration with mustache.php rendering engine

Requirements

Installation

Composer installation

  1. cd my/project/directory

  2. create a composer.json file with following content:

    {
        "require": {
            "widmogrod/zf2-mustache-module": "dev-master"
        }
    }
  3. run php composer.phar install

  4. open my/project/folder/configs/application.config.php and add 'Mustache' to your 'modules' parameter.

How to add Mustache rendering to ZF2

Add to your Application module config file (module.config.php) new rendering strategy as following:

<?php
return array(

    'view_manager' => array(
        // add this
        'strategies' => array(
            'Mustache\View\Strategy'
        ),
    ),
);

How to configure partials

Add to your Application module config file (module.config.php)

<?php
return array(

    'mustache' => array(
        'partials_loader' => array( __DIR__ . '/../view/partials')
    ),
);

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2012-10-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固