定制 biberltd/smarty-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

biberltd/smarty-bundle

最新稳定版本:v1.2.3

Composer 安装命令:

composer require biberltd/smarty-bundle

包简介

This Symfony2 bundle provides integration for the Smarty3 template engine.

README 文档

README

This Symfony2 bundle provides integration for the Smarty3 template engine.

Total Downloads Latest Stable Version Latest Unstable Version Build Status License

Caution: This bundle is developed in sync with Symfony's repository. For maximum compatibility with Symfony 2.0.x, you need to use releases 1.0.x of this bundle.

Requirements

Installation

SmartyBundle is composer-friendly.

1. Add SmartyBundle in your composer.json

{
    "require": {
        "noiselabs/smarty-bundle": "dev-master"
    }
}

Now tell composer to download the bundle by running the command:

$ php composer.phar update noiselabs/smarty-bundle

Composer will install the bundle to your project's vendor/noiselabs directory.

2. Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new NoiseLabs\Bundle\SmartyBundle\SmartyBundle(),
    );
}

3. Enable the Smarty template engine in the config

    # app/config/config.yml
    framework:
        templating:      { engines: ['twig', 'smarty'] }

For other installation methods (Symfony-2.0 vendors script or git submodules) please refer to the documentation below.

Documentation

Complete documentation is available on Read the Docs.

Extensions under development

If you want to contribute to SmartyBundle please switch to the following branches when contributing to one of these extensions.

License

This bundle is licensed under the LGPLv3 License. See the LICENSE file for details.

Authors

Vítor Brandão - vitor@noiselabs.org ~ twitter.com/noiselabs ~ blog.noiselabs.org

See also the list of contributors who participated in this project.

Submitting bugs and feature requests

Bugs and feature requests are tracked on GitHub.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 14
  • Forks: 38
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2015-07-09