PHPackages                             lunetics/locale-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. lunetics/locale-bundle

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

lunetics/locale-bundle
======================

A Bundle for switching Languages

2.6.4(7y ago)1861.1M—4.7%74[26 issues](https://github.com/lunetics/LocaleBundle/issues)[1 PRs](https://github.com/lunetics/LocaleBundle/pulls)8MITPHPPHP ^5.6 || ^7.0

Since Apr 17Pushed 1y ago17 watchersCompare

[ Source](https://github.com/lunetics/LocaleBundle)[ Packagist](https://packagist.org/packages/lunetics/locale-bundle)[ RSS](/packages/lunetics-locale-bundle/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (34)Used By (8)

LuneticsLocaleBundle
====================

[](#luneticslocalebundle)

This bundle allows you to guess the Locale from different parameters in your Symfony applications.

Background
----------

[](#background)

The locale can be guessed from different parameters in your applications :

- In the `Query` parameter
- In the `Route` parameters
- In the `Browser` preferences
- In a `Cookie` or the `Session` if the locale has already been identified
- Based on the `Subdomain` hostname

Documentation
-------------

[](#documentation)

[Read the Documentation for 3.x](https://github.com/lunetics/LocaleBundle/blob/3.x/docs/index.markdown)

[Read the Documentation for 2.2](https://github.com/lunetics/LocaleBundle/blob/2.2/Resources/doc/index.markdown)

License
-------

[](#license)

This bundle is released under the MIT License

Authors
-------

[](#authors)

Matthias Breddin : [@lunetics](https://github.com/lunetics)
Christophe Willemsen : [@kwattro](https://github.com/kwattro)

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance24

Infrequent updates — may be unmaintained

Popularity56

Moderate usage in the ecosystem

Community42

Growing community involvement

Maturity69

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

Recently: every ~432 days

Total

30

Last Release

962d ago

Major Versions

2.x-dev → 3.0.0-rc12022-11-28

PHP version history (7 changes)v2.1.0PHP &gt;=5.3.2

2.4.5PHP &gt;=5.5.9

2.5.4PHP ^5.5.9 || ^7.0

2.6.0PHP ^5.6 || ^7.0

3.0.0-rc1PHP ^7.4 || ^8.0

3.0.0-rc2PHP ^8.1

3.x-devPHP &gt;=7.2.5

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/76576?v=4)[David Buchmann](/maintainers/dbu)[@dbu](https://github.com/dbu)

![](https://avatars.githubusercontent.com/u/776743?v=4)[Asmir Mustafic](/maintainers/goetas)[@goetas](https://github.com/goetas)

![](https://avatars.githubusercontent.com/u/20873?v=4)[Luke Smith](/maintainers/lsmith)[@lsmith](https://github.com/lsmith)

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

![](https://www.gravatar.com/avatar/5590afa8ee9c1a404cea070b12b914c7be922febf9bd1efc82fbc98b0beb8a5a?d=identicon)[lunetics](/maintainers/lunetics)

---

Top Contributors

[![lunetics](https://avatars.githubusercontent.com/u/149752?v=4)](https://github.com/lunetics "lunetics (151 commits)")[![ikwattro](https://avatars.githubusercontent.com/u/1222009?v=4)](https://github.com/ikwattro "ikwattro (88 commits)")[![goetas](https://avatars.githubusercontent.com/u/776743?v=4)](https://github.com/goetas "goetas (34 commits)")[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (32 commits)")[![lsmith77](https://avatars.githubusercontent.com/u/300279?v=4)](https://github.com/lsmith77 "lsmith77 (19 commits)")[![Ma27](https://avatars.githubusercontent.com/u/6025220?v=4)](https://github.com/Ma27 "Ma27 (13 commits)")[![xelaris](https://avatars.githubusercontent.com/u/2466932?v=4)](https://github.com/xelaris "xelaris (10 commits)")[![ElectricMaxxx](https://avatars.githubusercontent.com/u/2905834?v=4)](https://github.com/ElectricMaxxx "ElectricMaxxx (6 commits)")[![hacfi](https://avatars.githubusercontent.com/u/428841?v=4)](https://github.com/hacfi "hacfi (5 commits)")[![ivoba](https://avatars.githubusercontent.com/u/471254?v=4)](https://github.com/ivoba "ivoba (5 commits)")[![kevinarcher](https://avatars.githubusercontent.com/u/1139907?v=4)](https://github.com/kevinarcher "kevinarcher (5 commits)")[![EmmanuelVella](https://avatars.githubusercontent.com/u/663607?v=4)](https://github.com/EmmanuelVella "EmmanuelVella (5 commits)")[![sbacelic](https://avatars.githubusercontent.com/u/647434?v=4)](https://github.com/sbacelic "sbacelic (4 commits)")[![stephpy](https://avatars.githubusercontent.com/u/232744?v=4)](https://github.com/stephpy "stephpy (4 commits)")[![wouterj](https://avatars.githubusercontent.com/u/749025?v=4)](https://github.com/wouterj "wouterj (4 commits)")[![gimler](https://avatars.githubusercontent.com/u/200904?v=4)](https://github.com/gimler "gimler (3 commits)")[![erivello](https://avatars.githubusercontent.com/u/626131?v=4)](https://github.com/erivello "erivello (3 commits)")[![gnat42](https://avatars.githubusercontent.com/u/325591?v=4)](https://github.com/gnat42 "gnat42 (2 commits)")[![artursvonda](https://avatars.githubusercontent.com/u/147427?v=4)](https://github.com/artursvonda "artursvonda (2 commits)")[![Mondane](https://avatars.githubusercontent.com/u/1150272?v=4)](https://github.com/Mondane "Mondane (1 commits)")

---

Tags

localizationsymfonysymfony-bundletranslationbundlebrowserlanguagerouterlocalemultilanguagecookie

### Embed Badge

![Health badge](/badges/lunetics-locale-bundle/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[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)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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