PHPackages                             thelia/view-module - 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. thelia/view-module

ActiveThelia-module[Templating &amp; Views](/categories/templating)

thelia/view-module
==================

2.1.0(3y ago)02092[1 PRs](https://github.com/thelia-modules/View/pulls)LGPL-3.0+PHP

Since Sep 26Pushed 2y ago5 watchersCompare

[ Source](https://github.com/thelia-modules/View)[ Packagist](https://packagist.org/packages/thelia/view-module)[ RSS](/packages/thelia-view-module/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

View module
===========

[](#view-module)

Using this module, you can select a specific view for any category, product, folder or content.

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

[](#installation)

```
composer require thelia/view-module:~2.0.1

```

Activate the module and go to the "Modules" tab of any category, product, folder or content configuration page.

The loop view
-------------

[](#the-loop-view)

Get the specific view of an object and the specific views of its sub-elements.

### Parameters

[](#parameters)

ArgumentDescription**id**The ID of the specific view**view**The Name of the specific view**source**The type of the source associated. The possible values are `category`, `product`, `folder` or `content`**source\_id**The ID of the source associated### Output variables

[](#output-variables)

VariablesDescription$IDThe Id of the specific view$SOURCE\_IDThe ID of the source associated$SOURCEThe source associated (`category`, `product`, `folder` or `content`)$VIEWThe name of the specific view$SUBTREE\_VIEWThe name of the specific view associated with the sub-element (sub-category or sub-folder) of the source$CHILDREN\_VIEWThe name of the specific view associated with the children (products or contents) of the source### Example

[](#example)

```
{loop type="view" name="my-specific-view" source="content" source_id=11}...{/loop}

```

The loop frontfiles
-------------------

[](#the-loop-frontfiles)

Return all the front office templates and their path.

### Parameters

[](#parameters-1)

This loop have no parameters

### Output variables

[](#output-variables-1)

VariablesDescription$NAMEThe template name$FILEThe file name$RELATIVE\_PATHThe relative path of the template$ABSOLUTE\_PATHThe absolute path of the template### Example

[](#example-1)

```
{loop type="frontfile" name="my-fo-template"}...{/loop}

```

The loop frontview
------------------

[](#the-loop-frontview)

Return view of an object if the object have a specific view.

### Parameters

[](#parameters-2)

ArgumentDescription**source**The source of the object (`category`, `product`, `folder` or `content`)**source\_id**The ID of the object### Output variables

[](#output-variables-2)

VariablesDescriptionFRONT\_VIEWThe name of the viewVIEW\_IDThe id of the view in the view table### Example

[](#example-2)

```
{loop type="frontview" name="my-frontview-loop" source="category" source_id=11 }...{/loop}

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~562 days

Total

3

Last Release

1298d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2196919?v=4)[thelia](/maintainers/thelia)[@thelia](https://github.com/thelia)

---

Top Contributors

[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (3 commits)")[![Lurivar](https://avatars.githubusercontent.com/u/33634597?v=4)](https://github.com/Lurivar "Lurivar (2 commits)")

---

Tags

templates

### Embed Badge

![Health badge](/badges/thelia-view-module/health.svg)

```
[![Health](https://phpackages.com/badges/thelia-view-module/health.svg)](https://phpackages.com/packages/thelia-view-module)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

545.8M69](/packages/symfony-ux-icons)[nystudio107/craft-twigpack

Twigpack is a bridge between Twig and webpack, with manifest.json &amp; webpack-dev-server HMR support

97341.4k17](/packages/nystudio107-craft-twigpack)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
