PHPackages                             thomasdcodes/language-switcher-bundle - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. thomasdcodes/language-switcher-bundle

ActiveSymfony-bundle[Localization &amp; i18n](/categories/localization)

thomasdcodes/language-switcher-bundle
=====================================

Gives a possibility to change the language, store it in session and set it as default language

0.1.3(1y ago)0106MITPHPPHP &gt;=8.2

Since Mar 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/thomasdcodes/language-switcher-bundle)[ Packagist](https://packagist.org/packages/thomasdcodes/language-switcher-bundle)[ RSS](/packages/thomasdcodes-language-switcher-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

thomasd.codes Language Switcher Bundle for Symfony
==================================================

[](#thomasdcodes-language-switcher-bundle-for-symfony)

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

[](#description)

With this Bundle you are able to switch the users language with ease.

Install
-------

[](#install)

```
composer require thomasdcodes/language-switcher-bundle
```

If you're using Symfony Flex, the Bundle should be registered in your config/bundles.php

Inside config/routes add a new file (tdc\_language\_switcher\_bundle.yaml) with the following standard settings:

```
tdc_language_switcher_bundle.routes:
  resource: '@TdcLanguageSwitcherBundle/config/routes.yaml'
```

Template
--------

[](#template)

To use the Language Switch inside your navigation template inside a li-Tag:

```
{% include '@TdcLanguageSwitcher/_language_switch.html.twig' %}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~78 days

Total

3

Last Release

635d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50184aa55e9690a3500141891d8898db05b581614b44349c17ccad5593cea3c2?d=identicon)[thomasdcodes](/maintainers/thomasdcodes)

---

Top Contributors

[![thomasdcodes](https://avatars.githubusercontent.com/u/60360377?v=4)](https://github.com/thomasdcodes "thomasdcodes (2 commits)")

---

Tags

switch language

### Embed Badge

![Health badge](/badges/thomasdcodes-language-switcher-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/thomasdcodes-language-switcher-bundle/health.svg)](https://phpackages.com/packages/thomasdcodes-language-switcher-bundle)
```

###  Alternatives

[lexik/translation-bundle

This bundle allows to import translation files content into the database and provide a GUI to edit translations.

4362.7M19](/packages/lexik-translation-bundle)[jms/translation-bundle

Puts the Symfony Translation Component on steroids

42510.8M63](/packages/jms-translation-bundle)[php-translation/symfony-bundle

3244.1M9](/packages/php-translation-symfony-bundle)

PHPackages © 2026

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