PHPackages                             yiier/yii2-target-setting - 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. yiier/yii2-target-setting

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

yiier/yii2-target-setting
=========================

Target Settings For Yii2

v0.1.3(5y ago)23781BSD-4-ClausePHP

Since Dec 19Pushed 5y ago3 watchersCompare

[ Source](https://github.com/yiier/yii2-target-setting)[ Packagist](https://packagist.org/packages/yiier/yii2-target-setting)[ RSS](/packages/yiier-yii2-target-setting/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Target Settings For Yii2
========================

[](#target-settings-for-yii2)

Target Settings For Yii2

[![Latest Stable Version](https://camo.githubusercontent.com/04219153224c2bdbc42905670f486837ec77e4857baee5dfac3bc615ae1af200/68747470733a2f2f706f7365722e707567782e6f72672f79696965722f796969322d7461726765742d73657474696e672f762f737461626c65)](https://packagist.org/packages/yiier/yii2-target-setting)[![Total Downloads](https://camo.githubusercontent.com/b45df70f3072850aff45daf3636c4883193010fc5595072234349d1254014db8/68747470733a2f2f706f7365722e707567782e6f72672f79696965722f796969322d7461726765742d73657474696e672f646f776e6c6f616473)](https://packagist.org/packages/yiier/yii2-target-setting)[![Latest Unstable Version](https://camo.githubusercontent.com/a13c0f123725057cc421e868bc590047f2c1104535d7d767fc4a2f00ca14c754/68747470733a2f2f706f7365722e707567782e6f72672f79696965722f796969322d7461726765742d73657474696e672f762f756e737461626c65)](https://packagist.org/packages/yiier/yii2-target-setting)[![License](https://camo.githubusercontent.com/d3096433e26767cd92b309111c73b0d500a1522224344eb6c03c8b643689516d/68747470733a2f2f706f7365722e707567782e6f72672f79696965722f796969322d7461726765742d73657474696e672f6c6963656e7365)](https://packagist.org/packages/yiier/yii2-target-setting)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist yiier/yii2-target-setting "*"

```

or add

```
"yiier/yii2-target-setting": "*"

```

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

Configuration
-------------

[](#configuration)

### Database Migrations

[](#database-migrations)

Before usage this extension, we'll also need to prepare the database.

```
php yii migrate --migrationPath=@yiier/targetSetting/migrations/

```

### Module Setup

[](#module-setup)

To access the module, you need to configure the modules array in your application configuration:

```
'modules' => [
    'targetSetting' => [
        'class' => 'yiier\targetSetting\Module',
    ],
],
```

Component Setup

To use the Setting Component, you need to configure the components array in your application configuration:

```
'components' => [
    'targetSetting' => [
        'class' => 'yiier\targetSetting\TargetSetting',
    ],
],
```

Usage
-----

[](#usage)

```
