PHPackages                             shineunited/conductor-twig-addon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. shineunited/conductor-twig-addon

ActiveComposer-plugin[Templating &amp; Views](/categories/templating)

shineunited/conductor-twig-addon
================================

Addon for Conductor to support building files using Twig templates.

1.0.0(3y ago)05.6k1MITPHPPHP &gt;=8.0

Since Nov 16Pushed 3y ago3 watchersCompare

[ Source](https://github.com/shineunited/conductor-twig-addon)[ Packagist](https://packagist.org/packages/shineunited/conductor-twig-addon)[ RSS](/packages/shineunited-conductor-twig-addon/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (10)Versions (18)Used By (1)

shineunited/conductor-twig-addon
================================

[](#shineunitedconductor-twig-addon)

[![License](https://camo.githubusercontent.com/cfdb0e972837ae3d4ab71cb0fa6339e533cf81392293b7c8f0131dc9dd36641d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7368696e65756e697465642f636f6e647563746f722d747769672d6164646f6e)](https://github.com/shineunited/conductor-twig-addon/blob/main/LICENSE)[![Latest Version](https://camo.githubusercontent.com/dc16450e12677bf53f31e0d0c20ebf547a33b6a565cf02ec3e77a3b11026f218/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7368696e65756e697465642f636f6e647563746f722d747769672d6164646f6e3f6c6162656c3d6c6174657374)](https://packagist.org/packages/shineunited/conductor-twig-addon/)[![PHP Version](https://camo.githubusercontent.com/ca84f47d8ff6566cebdaaf5170a92ab121f410eb81987c1172225f9139b4108c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f7368696e65756e697465642f636f6e647563746f722d747769672d6164646f6e2f7068703f6c6162656c3d706870)](https://www.php.net/releases/index.php)[![Main Status](https://camo.githubusercontent.com/e3097523478d70f1209faab738cd7e595d7441d560359b649fe19e34e7998d88/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7368696e65756e697465642f636f6e647563746f722d747769672d6164646f6e2f4275696c642f6d61696e3f6c6162656c3d6d61696e)](https://github.com/shineunited/conductor-twig-addon/actions/workflows/build.yml?query=branch%3Amain)[![Release Status](https://camo.githubusercontent.com/c74b3a8b25e0fe065708b42b224cf9dbbda8bb8fbf083571a23e414cab098a5a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7368696e65756e697465642f636f6e647563746f722d747769672d6164646f6e2f4275696c642f72656c656173653f6c6162656c3d72656c65617365)](https://github.com/shineunited/conductor-twig-addon/actions/workflows/build.yml?query=branch%3Arelease)[![Develop Status](https://camo.githubusercontent.com/7842d520a466fbf6588faf09557ca037d4edda03785cd70aee0f88d75dbc78d7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7368696e65756e697465642f636f6e647563746f722d747769672d6164646f6e2f4275696c642f646576656c6f703f6c6162656c3d646576656c6f70)](https://github.com/shineunited/conductor-twig-addon/actions/workflows/build.yml?query=branch%3Adevelop)

Description
-----------

[](#description)

Add support for Twig templates to the Conductor generator/blueprint framework.

Installation
------------

[](#installation)

To add conductor-twig-addon, the recommended method is via composer.

```
$ composer require shineunited/conductor-twig-addon
```

Usage
-----

[](#usage)

### NamespaceProvider Capability

[](#namespaceprovider-capability)

The NamespaceProvider capability registers Twig template include paths.

#### Example Plugin

[](#example-plugin)

The plugin must implement Capable and provide the NamespaceProvider capability.

```
