PHPackages                             thelia/keyword-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. thelia/keyword-module

ActiveThelia-module[Utility &amp; Helpers](/categories/utility)

thelia/keyword-module
=====================

Associate contents, folders, categories and products to one or more keywords

3.1.1(3mo ago)62.1k7[3 issues](https://github.com/thelia-modules/Keyword/issues)LGPL-3.0+PHPCI passing

Since Nov 14Pushed 3mo ago6 watchersCompare

[ Source](https://github.com/thelia-modules/Keyword)[ Packagist](https://packagist.org/packages/thelia/keyword-module)[ RSS](/packages/thelia-keyword-module/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (16)Used By (0)

Module Keyword Thelia 2
=======================

[](#module-keyword-thelia-2)

This module is used to associate category, product, content or folders to one or more keywords. This allows you for example to display items based on a particular keyword or structure your page with a tag system.

How to install
--------------

[](#how-to-install)

This module must be into your `modules/` directory (thelia/local/modules/).

You can download the .zip file of this module or create a git submodule into your project like this :

```
cd /path-to-thelia
git submodule add https://github.com/thelia-modules/Keyword.git local/modules/Keyword

```

Next, go to your Thelia admin panel for module activation.

How to use
----------

[](#how-to-use)

You can manage your keywords on the configuration view of the module with the "configure" button on the modules list.

To associate one or more keywords to a content or a folder, go to tab "Modules" of content or folder editing view.

This module allow you to use 6 new loops : keyword\_category, keyword\_product, keyword\_content, keyword\_folder, keyword\_group and keyword.

Since v3.1.0 you can use classic loops (category, product, content, folder) with the argument "keyword" to filter the results (and `keyword_match_mode` : `exact` or `partial`).

Ex :

```
{loop name="categories" type="category" keyword="my_keyword" keyword_match_mode="exact"}
    ...
{/loop}
```

Here is an example of using each :

**Use the keyword\_category loop (list of categories related to the "my\_keyword" keyword)**

```
{loop name="categories" type="keyword_category" keyword="my_keyword" association_order="manual_reverse"}
    ...
{/loop}
```

**Use the keyword\_product loop (list of products related to the "my\_keyword" keyword)**

```
{loop name="products" type="keyword_product" keyword="my_keyword" association_order="manual_reverse"}
    ...
{/loop}
```

**Use the keyword\_content loop (list of contents related to the "my\_keyword" keyword)**

```
{loop name="contents" type="keyword_content" keyword="my_keyword" folder="1" association_order="manual_reverse"}
    ...
{/loop}
```

**Use the keyword\_folder loop (list of folders related to the "my\_keyword" keyword)**

```
{loop name="folders" type="keyword_folder" keyword="my_keyword"}
    ...
{/loop}
```

**Use the keyword\_category loop (list of categories related to the "my\_keyword" keyword)**

```
{loop name="categories" type="keyword_category" keyword="my_keyword"}
    ...
{/loop}
```

**Use the keyword\_product loop (list of products related to the "my\_keyword" keyword)**

```
{loop name="products" type="keyword_product" keyword="my_keyword"}
    ...
{/loop}
```

**Use the keyword loop (list all keywords that are visible)**

```
{loop name="keyword_list" type="keyword" visible="*" order="manual" backend_context="1" lang=$lang_id}
    ...
{/loop}
```

**Use the keyword group loop (list all keyword groups that are visible)**

```
{loop name="keyword_group_list" type="keyword_group" visible="*" order="manual" backend_context="1" lang=$lang_id}
    ...
{/loop}
```

---

---

You can also check the association between a keyword and a category, a product, a folder or a content by using Smarty extension available in the latest version of this plugin :

**Check if thelia object is associated with keyword "my\_keyword"**

```
{category_has_keyword category_id=$ID keyword_code="my_keyword"} {* return true/false if relation exist or not *}
{product_has_keyword product_id=$ID keyword_code="my_keyword"}
{folder_has_keyword folder_id=$ID keyword_code="my_keyword"}
{content_has_keyword content_id=$ID keyword_code="my_keyword"}
```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance68

Regular maintenance activity

Popularity26

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 82.7% 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 ~314 days

Recently: every ~284 days

Total

14

Last Release

116d ago

Major Versions

v2.4.7 → 3.0.02022-12-14

### Community

Maintainers

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

---

Top Contributors

[![mespeche](https://avatars.githubusercontent.com/u/2156044?v=4)](https://github.com/mespeche "mespeche (81 commits)")[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (5 commits)")[![gillesbourgeat](https://avatars.githubusercontent.com/u/7335734?v=4)](https://github.com/gillesbourgeat "gillesbourgeat (3 commits)")[![zawaze](https://avatars.githubusercontent.com/u/37273643?v=4)](https://github.com/zawaze "zawaze (2 commits)")[![lovenunu](https://avatars.githubusercontent.com/u/6106094?v=4)](https://github.com/lovenunu "lovenunu (2 commits)")[![anoziere](https://avatars.githubusercontent.com/u/118798868?v=4)](https://github.com/anoziere "anoziere (1 commits)")[![julescournut](https://avatars.githubusercontent.com/u/26310511?v=4)](https://github.com/julescournut "julescournut (1 commits)")[![roadster31](https://avatars.githubusercontent.com/u/2197734?v=4)](https://github.com/roadster31 "roadster31 (1 commits)")[![Soldras](https://avatars.githubusercontent.com/u/11573385?v=4)](https://github.com/Soldras "Soldras (1 commits)")[![leanormandon](https://avatars.githubusercontent.com/u/30038624?v=4)](https://github.com/leanormandon "leanormandon (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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