承接 lidaa/twig-bundle 相关项目开发

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

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

lidaa/twig-bundle

Composer 安装命令:

composer require lidaa/twig-bundle

包简介

LidaaTwigBundle will add a lot of Twig Extensions (php, image, url, css, js, tag, session, number, sf, unset, form, html, ...)

README 文档

README

Build Status

Provides a lot of Twig Extensions.

(php, image, link, css, js, tag, session, number, sf, unset, form, html, ...)

Requirement

  • Twig version 1.5 or later
  • Symfony version 2.0.9 or later

Installation

1- Add the following lines in your deps file:

[LidaaTwigBundle]
	 git=git://github.com/lidaa/LidaaTwigBundle.git
	 target=/bundles/Lidaa/TwigBundle

2- Now, run the vendors script to download the bundle:

$ php bin/vendors install

3- Add LidaaTwigBundle to your application kernel:

// app/AppKernel.php
public function registerBundles()
{
	 return array(
	     // ...
	     new Lidaa\TwigBundle\LidaaTwigBundle(),
	     // ...
	 );
}

4- Add the 'Lidaa' namespace to your autoloader:

// app/autoload.php
$loader->registerNamespaces(array(
	 //...
	 'Lidaa' => __DIR__.'/../vendor/bundles',
	 //...
));

Extensions:

TODO:

  • Add DateExtension
  • Add ajax and highligh to JsExtension

统计信息

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

GitHub 信息

  • Stars: 24
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-07-25