PHPackages                             drexlerux/yii2-lcswitch - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. drexlerux/yii2-lcswitch

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

drexlerux/yii2-lcswitch
=======================

LC Switch extension for Yii2

1.1.0(8y ago)060MITPHPPHP &gt;=5.6.0

Since Sep 6Pushed 8y agoCompare

[ Source](https://github.com/drexlerux/yii2-lcswitch)[ Packagist](https://packagist.org/packages/drexlerux/yii2-lcswitch)[ RSS](/packages/drexlerux-yii2-lcswitch/feed)WikiDiscussions master Synced today

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

LC Switch
=========

[](#lc-switch)

LC Switch extension for Yii2

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist drexlerux/yii2-lcswitch "*"

```

or add

```
"drexlerux/yii2-lcswitch": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

1. Namespace to use widget class

```
use drexlerux\lcswitch\LcSwitch;
```

2. Once the extension is installed, simply use it in your code by :

```
