Bamboo Twig


This project is not covered by Drupal’s security advisory policy.

Bamboo Twig. Drupal 8 powered module.

The Bamboo Twig module provides some Twig extensions with some useful functions and filters aimed to improve the development experience.

Bamboo Twig has a lot of advantages and brings a lot of new features to the Twig landscape of Drupal 8.
It boosts performance by using lazy loading, improves the code quality with automated workflow. It also includes automated unit and kernel tests to ensure stability.

Use Bamboo Twig if

  • You need to "Format dates using Drupal I118n".
  • You need to "Render a Block".
  • You need to "Render a View".
  • You need to "Render a Region".
  • You need to "Render an Entity with view mode".
  • You need to "Load an Entity".
  • You need to "Render a Field".
  • You need to "Retrieve the current user".
  • You need to "Check permissions or roles".
  • You need to "Render a Form".
  • You need to "Deal with image styles".
  • You need to "Use Token".
  • You need to "Create an absolute URL from a theme".
  • You need to "Retrieve the Extension file from given mimeType".
  • You want to use a twig module that follows all the best practices.
  • You want to use a twig module that ensure stability with tests.
  • You want to use a twig module that will be compatible Drupal 9.

Bamboo Twig can do a lot more than that, but perhaps these are some of the
obvious uses of Bamboo Twig.

Getting Started

We highly recommend you to install the module using composer.

Check out the official documentation about it.

Usage

Check out the official documentation about Bamboo Twig Extensions & usage or read the README.md file on Github.

Performances

For performances reasons, Bamboo Twig has been split into multiple sub-modules for each topic he provides Twigs.

Bamboo Twig versions

Bamboo Twig is only available for Drupal 8!
The module is ready to be used in Drupal 8, there are no known issues.

If you need some help to upgrade from the version 8.x-1.x to 8.x-2.x check the guide about it.

In the case you are looking for the documentation of version 8.x-1.x, check the previous README.md or the previous project page.

Dependencies

The Drupal 8 version of Bamboo Twig requires nothing !
Feel free to use it.

Similar modules

From the first sight, Bamboo Twig offers similar functionality to the following modules.
It's excepted that Bamboo Twig will normalize the way you use twig in your Drupal project reducing the need to install a bunch of extra modules.

Plus, it adds a lots of functionality, ensures stability with tests, includes automated quality control and open minded to contribute throught Github PR.
Finally, Bamboo Twig use all the best practices of Drupal 8 to ensure compatibility with Drupal 9.

Supporting organizations

This project is sponsored by Antistatique. We are a Swiss Web Agency, Visit us at www.antistatique.net or Contact us.

Supporting organizations: 

Bamboo Twig项目的Drush安装命令:复制到剪贴板

注:个别模块仍需开启相关子模块。
周安装量: 
24
维护状态: 
最低限度维护
开发状态: 
积极开发中

推荐版本下载:

版本下载地址发布日期发布说明翻译下载
8.x-3.1tar.gz (47.89 KB) | zip (79.2 KB)2017年9月26日发布说明简 | 繁 | 更多

开发版本下载:

版本下载地址发布日期发布说明翻译下载
8.x-3.x-devtar.gz (47.9 KB) | zip (79.25 KB)2017年10月10日发布说明简 | 繁 | 更多