PHPackages                             kunstmaan/languagechooser-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. [Admin Panels](/categories/admin)
4. /
5. kunstmaan/languagechooser-bundle

ActiveSymfony-bundle[Admin Panels](/categories/admin)

kunstmaan/languagechooser-bundle
================================

The Kunstmaan Language chooser bundle supplies your project with basic but extendible language chooser

3.5.1(10y ago)63.5k3MITPHPPHP &gt;=5.4.0

Since Sep 23Pushed 9y ago37 watchersCompare

[ Source](https://github.com/Kunstmaan/KunstmaanLanguageChooserBundle)[ Packagist](https://packagist.org/packages/kunstmaan/languagechooser-bundle)[ Docs](https://github.com/Kunstmaan/KunstmaanLanguageChooserBundle)[ RSS](/packages/kunstmaan-languagechooser-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)Dependencies (2)Versions (34)Used By (0)

KunstmaanLanguageChooserBundle
==============================

[](#kunstmaanlanguagechooserbundle)

[![Build Status](https://camo.githubusercontent.com/898250b43274752a75f27cbca06f798a9063ddbc1776cc2a3c0989bf53b293e0/68747470733a2f2f7472617669732d63692e6f72672f4b756e73746d61616e2f4b756e73746d61616e4c616e677561676543686f6f73657242756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/Kunstmaan/KunstmaanLanguageChooserBundle)[![Total Downloads](https://camo.githubusercontent.com/ba75c72034bc0f0064a88131e709f2d467f95205246902f78a733bff56357b1b/68747470733a2f2f706f7365722e707567782e6f72672f6b756e73746d61616e2f6c616e677561676563686f6f7365722d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/kunstmaan/languagechooser-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/961c644dc9a7353785b392285b330aa6576c74b127927f9cab4ea870d8d8d3b6/68747470733a2f2f706f7365722e707567782e6f72672f6b756e73746d61616e2f6c616e677561676563686f6f7365722d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/kunstmaan/languagechooser-bundle)[![Analytics](https://camo.githubusercontent.com/9513453dde713fab66a882447738d089aa2c3ae06c4dfd2d902160058c45379d/68747470733a2f2f67612d626561636f6e2e61707073706f742e636f6d2f55412d333136303733352d372f4b756e73746d61616e2f4b756e73746d61616e4c616e677561676543686f6f73657242756e646c65)](https://github.com/igrigorik/ga-beacon)

Handles autodetection of the language of the end user or shows a splash page with a language choice.

Installation instructions
-------------------------

[](#installation-instructions)

Assuming you have installed composer.phar or composer binary:

```
$ composer require kunstmaan/languagechooser-bundle dev-master
```

Add the KunstmaanLanguageChooserBundle and the LuneticsLocaleBundle to your AppKernel.php file:

```
new Kunstmaan\LanguageChooserBundle\KunstmaanLanguageChooserBundle(),
new Lunetics\LocaleBundle\LuneticsLocaleBundle(),
```

Remark: The KunstmaanLanguageChooserBundle should be loaded **BEFORE** the LuneticsLocaleBundle

Add the KunstmaanLanguageChooserBundle to your routing.yml:

```
# KunstmaanLanguageChooserBundle
_languagechooser:
    resource: .
```

Overwrite the KunstmaanLanguageChooserBundle config to your needs in config.yml:

```
kunstmaan_language_chooser:
    autodetectlanguage: false
    showlanguagechooser: true
    languagechoosertemplate: CompanyYourBundle:Default:language-chooser.html.twig
    languagechooserlocales: [en, nl, fr]
```

Usage
-----

[](#usage)

When the user arrives on the root page of your website (eg. ) he:

- is automatically redirect to his language of choice (eg. ) when the `autodetectlanguage` is set to `true`
- sees a splash page where he can select his language manually when the `showlanguagechooser` is set to `true`

The template path of the splash page can we set via the `languagechoosertemplate` configuration parameter.

In all your Twig templates, there is a global variable available with an array of the available languages: `languagechooser_languages`. This can be usefull on your custom splash page, or when you want to show the language choice on other pages.

```

    {% for lang in languagechooser_languages %}
        {{ lang }}
    {% endfor %}

```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor3

3 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 ~30 days

Total

30

Last Release

3788d ago

Major Versions

v2.3.2 → 3.2.02015-04-11

3.5.x-dev → 4.0.0-RC12016-02-15

PHP version history (2 changes)v2.3.0PHP &gt;=5.3.3

3.2.0PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/62ecb43e61751f5fc28256b948ef82f76704338a102d5122b2a6b355e8e972df?d=identicon)[Kunstmaan](/maintainers/Kunstmaan)

---

Top Contributors

[![sandergo90](https://avatars.githubusercontent.com/u/1516413?v=4)](https://github.com/sandergo90 "sandergo90 (4 commits)")[![JoakimLofgren](https://avatars.githubusercontent.com/u/895361?v=4)](https://github.com/JoakimLofgren "JoakimLofgren (2 commits)")[![wouterj](https://avatars.githubusercontent.com/u/749025?v=4)](https://github.com/wouterj "wouterj (2 commits)")[![dannyvw](https://avatars.githubusercontent.com/u/1218389?v=4)](https://github.com/dannyvw "dannyvw (1 commits)")[![mlebkowski](https://avatars.githubusercontent.com/u/848731?v=4)](https://github.com/mlebkowski "mlebkowski (1 commits)")[![wimvds](https://avatars.githubusercontent.com/u/777114?v=4)](https://github.com/wimvds "wimvds (1 commits)")[![krispypen](https://avatars.githubusercontent.com/u/156955?v=4)](https://github.com/krispypen "krispypen (1 commits)")[![inmarelibero](https://avatars.githubusercontent.com/u/254808?v=4)](https://github.com/inmarelibero "inmarelibero (1 commits)")[![kimausloos](https://avatars.githubusercontent.com/u/493233?v=4)](https://github.com/kimausloos "kimausloos (1 commits)")

---

Tags

cmsadminkunstmaan

### Embed Badge

![Health badge](/badges/kunstmaan-languagechooser-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kunstmaan-languagechooser-bundle/health.svg)](https://phpackages.com/packages/kunstmaan-languagechooser-bundle)
```

###  Alternatives

[kunstmaan/admin-bundle

The Kunstmaan Admin bundle supplies your project with a basic, elegant backend interface you can modify and extend so you can make your perfect admin module. The clean interface makes it straightforward for you and the people working with it to change settings and modify content.

58151.0k20](/packages/kunstmaan-admin-bundle)[kunstmaan/node-bundle

All websites need pages(we call them nodes) but you probably don't want to spend too much time building them. Plus they should look pretty and contain the right content and that takes time. We make sure you have to spend less time managing your pages but still offer you flexibility so you can focus on more important tasks and don't have to worry about it.

24142.9k14](/packages/kunstmaan-node-bundle)[arbory/arbory

Administration interface for Laravel

4753.9k3](/packages/arbory-arbory)[bpocallaghan/titan

Core framework for laravel projects (Laravel Admin Starter).

5811.2k1](/packages/bpocallaghan-titan)

PHPackages © 2026

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