PHPackages                             wearesho-team/yii2-header-language-selector - 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. wearesho-team/yii2-header-language-selector

ActiveLibrary[Localization &amp; i18n](/categories/localization)

wearesho-team/yii2-header-language-selector
===========================================

Library for configuring auto setting language from headers in yii2 application

1.0.0(7y ago)01[1 PRs](https://github.com/wearesho-team/yii2-header-language-selector/pulls)MITPHPPHP &gt;=7.2

Since Oct 8Pushed 7y ago2 watchersCompare

[ Source](https://github.com/wearesho-team/yii2-header-language-selector)[ Packagist](https://packagist.org/packages/wearesho-team/yii2-header-language-selector)[ RSS](/packages/wearesho-team-yii2-header-language-selector/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

Yii2 header language selector
=============================

[](#yii2-header-language-selector)

[![Build Status](https://camo.githubusercontent.com/ce7e76318daf79450505dd6016a4f073a80da05f82419a79c9b3d98871a54d7f/68747470733a2f2f7472617669732d63692e6f72672f776561726573686f2d7465616d2f796969322d6865616465722d6c616e67756167652d73656c6563746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wearesho-team/yii2-header-language-selector)[![codecov](https://camo.githubusercontent.com/52c6f165010eff5f34c9e2b655c2a0a852414271baff5e5994b61c85f9f4641d/68747470733a2f2f636f6465636f762e696f2f67682f776561726573686f2d7465616d2f796969322d6865616465722d6c616e67756167652d73656c6563746f722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/wearesho-team/yii2-header-language-selector)

This library allows you to configure setting language from http header in yii2 application.

Setup
-----

[](#setup)

```
composer require wearesho-team/yii2-header-language-selector
```

Configure
---------

[](#configure)

Append bootstrap declaration in your app config with next item

```
