PHPackages                             victoire/localeswitcher-widget - 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. victoire/localeswitcher-widget

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

victoire/localeswitcher-widget
==============================

Victoire LocaleSwitcher widget

2.0.2(9y ago)31724[1 issues](https://github.com/Victoire/WidgetLocaleswitcherBundle/issues)[1 PRs](https://github.com/Victoire/WidgetLocaleswitcherBundle/pulls)MITPHPPHP &gt;=5.5.9

Since Nov 2Pushed 8y ago14 watchersCompare

[ Source](https://github.com/Victoire/WidgetLocaleswitcherBundle)[ Packagist](https://packagist.org/packages/victoire/localeswitcher-widget)[ RSS](/packages/victoire-localeswitcher-widget/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (8)Used By (0)

[![CircleCI](https://camo.githubusercontent.com/499a28c4cd8f764f4ede5e9a5525c9fd9fd7b985a1e11eddc88cc7cf5d1dc44b/68747470733a2f2f636972636c6563692e636f6d2f67682f566963746f6972652f5769646765744c6f63616c65737769746368657242756e646c652e7376673f7374796c653d736869656c64)](https://circleci.com/gh/Victoire/WidgetLocaleswitcherBundle)

Victoire LocaleSwitcher Bundle
==============================

[](#victoire-localeswitcher-bundle)

What is the purpose of this bundle
----------------------------------

[](#what-is-the-purpose-of-this-bundle)

This bundles gives you access to the *LocaleSwitcher Widget* which enables a language switcher on your website.

Set Up Victoire
---------------

[](#set-up-victoire)

If you haven't already, you can follow the steps to set up Victoire *[here](https://github.com/Victoire/victoire/blob/master/doc/setup.md)*

Install the bundle
------------------

[](#install-the-bundle)

```
php composer.phar require victoire/localeswitcher-bundle

```

Do not forget to add the bundle in your AppKernel !

```
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new Victoire\Widget\LocaleSwitcherBundle\VictoireWidgetLocaleSwitcherBundle(),
        );

        return $bundles;
    }
}

```

Add some extra localized links in the locale switcher
-----------------------------------------------------

[](#add-some-extra-localized-links-in-the-locale-switcher)

Sometimes, for example for a large company with some subsidiaries which aren't manage by this website, we would like to add extra localized links in the locale switcher.

Just add some config to get things done:

```
#config.yml
victoire_widget_locale_switcher:
    extraLocalizedLinks:
        jp: http://google.jp/
        us: https://google.us/
        ca: https://google.ca/
        pl: http://google.pl/
        ...

```

You can have the complete list of managed countries in `Resources/public/images/flags`.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~85 days

Recently: every ~70 days

Total

7

Last Release

3326d ago

Major Versions

1.5.2 → 2.0.02016-08-22

PHP version history (2 changes)1.3.0PHP &gt;=5.3.3

1.5PHP &gt;=5.5.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/bfae4f0954a577921be2539b40a1f1958376f5c7364505e1e238e232ba8066d9?d=identicon)[paulandrieux](/maintainers/paulandrieux)

![](https://www.gravatar.com/avatar/b33c24b8970c451cea3966e4a3ee46b4b1de451835431300b6371e0a0625152f?d=identicon)[gregumo](/maintainers/gregumo)

---

Top Contributors

[![gregumo](https://avatars.githubusercontent.com/u/11725078?v=4)](https://github.com/gregumo "gregumo (12 commits)")[![lenybernard](https://avatars.githubusercontent.com/u/618536?v=4)](https://github.com/lenybernard "lenybernard (5 commits)")[![paulandrieux](https://avatars.githubusercontent.com/u/1942078?v=4)](https://github.com/paulandrieux "paulandrieux (4 commits)")[![Charlie-Lucas](https://avatars.githubusercontent.com/u/6369470?v=4)](https://github.com/Charlie-Lucas "Charlie-Lucas (3 commits)")

---

Tags

localewidgetvictoireDCMSFriendsofVictoireLocaleSwitcher

### Embed Badge

![Health badge](/badges/victoire-localeswitcher-widget/health.svg)

```
[![Health](https://phpackages.com/badges/victoire-localeswitcher-widget/health.svg)](https://phpackages.com/packages/victoire-localeswitcher-widget)
```

PHPackages © 2026

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