PHPackages                             thelia/alternate-hreflang-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/alternate-hreflang-module

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

thelia/alternate-hreflang-module
================================

2.0.3(2mo ago)02.6k5[1 issues](https://github.com/thelia-modules/AlternateHreflang/issues)MITPHPCI passing

Since Nov 19Pushed 2mo ago5 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (14)Used By (0)

Alternate Hreflang
==================

[](#alternate-hreflang)

This module generates a alternateHreflang URL for every page of your shop. Once activated, you'll find a `` tag in the header of your pages.

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

[](#installation)

### Manually

[](#manually)

- Copy the module into `/local/modules/` directory and be sure that the name of the module is AlternateHreflang.
- Activate it in your thelia administration panel

### Composer

[](#composer)

Add it in your main thelia composer.json file

```
composer require thelia/alternate-hreflang-module:~1.1.0

```

### Usage

[](#usage)

You just have to activate the module and check the meta tags of your shop.

### Generation example

[](#generation-example)

If your current lang is `en` and your default lang is `fr`

```

```

If your current lang is `fr` and your default lang is `it`

```

```

This module generate hreflang only for languages enabled in the backoffice

If you want the locale `hreflang="...."` on 5 characters, you have to pass the configuration variable `hreflangFormat` to 1

If your current lang is `fr` and your default lang is `it`

```

```

### Hook

[](#hook)

This module uses the hook `main.head-bottom`

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance85

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~242 days

Recently: every ~462 days

Total

12

Last Release

76d ago

Major Versions

0.2.2 → 1.0.02019-02-05

1.1.4 → 2.0.02021-07-21

### Community

Maintainers

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

---

Top Contributors

[![gillesbourgeat](https://avatars.githubusercontent.com/u/7335734?v=4)](https://github.com/gillesbourgeat "gillesbourgeat (9 commits)")[![lopes-vincent](https://avatars.githubusercontent.com/u/6057206?v=4)](https://github.com/lopes-vincent "lopes-vincent (6 commits)")[![zawaze](https://avatars.githubusercontent.com/u/37273643?v=4)](https://github.com/zawaze "zawaze (2 commits)")[![ThomasDaSilva](https://avatars.githubusercontent.com/u/97163246?v=4)](https://github.com/ThomasDaSilva "ThomasDaSilva (1 commits)")[![NicolasBarbey](https://avatars.githubusercontent.com/u/26166378?v=4)](https://github.com/NicolasBarbey "NicolasBarbey (1 commits)")[![adrien2go](https://avatars.githubusercontent.com/u/13930253?v=4)](https://github.com/adrien2go "adrien2go (1 commits)")[![roadster31](https://avatars.githubusercontent.com/u/2197734?v=4)](https://github.com/roadster31 "roadster31 (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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