lidaa/twig-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱: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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固