PHPackages                             cinghie/yii2-contacts - 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. cinghie/yii2-contacts

ActiveYii2-extension

cinghie/yii2-contacts
=====================

Yii2 Contacts

0.9.7(6y ago)1627BSD-3-ClausePHP

Since Jun 1Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/cinghie/yii2-contacts)[ Packagist](https://packagist.org/packages/cinghie/yii2-contacts)[ Docs](https://github.com/cinghie/yii2-contacts)[ RSS](/packages/cinghie-yii2-contacts/feed)WikiDiscussions master Synced 2mo ago

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

Yii2 Contacts
=============

[](#yii2-contacts)

[![License](https://camo.githubusercontent.com/52d3293a32448fdef17c850ccdac7d06c5f79dcb1f4956785ed44f353b620324/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63696e676869652f796969322d636f6e74616374732e737667)](https://camo.githubusercontent.com/52d3293a32448fdef17c850ccdac7d06c5f79dcb1f4956785ed44f353b620324/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63696e676869652f796969322d636f6e74616374732e737667)[![Latest Stable Version](https://camo.githubusercontent.com/89a63f2e01016cd3f3d22a13d37f0d6e0b14dcc2368c17f8fe99a0a41691f48c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f63696e676869652f796969322d636f6e74616374732e737667)](https://camo.githubusercontent.com/89a63f2e01016cd3f3d22a13d37f0d6e0b14dcc2368c17f8fe99a0a41691f48c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f63696e676869652f796969322d636f6e74616374732e737667)[![Latest Release Date](https://camo.githubusercontent.com/a6a834a57d1a35e7eb1b9fb178e0df9b2e767e73f4299faa2e01837b8ccc21d9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f63696e676869652f796969322d636f6e74616374732e737667)](https://camo.githubusercontent.com/a6a834a57d1a35e7eb1b9fb178e0df9b2e767e73f4299faa2e01837b8ccc21d9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f63696e676869652f796969322d636f6e74616374732e737667)[![Latest Commit](https://camo.githubusercontent.com/121db4d3d3915700754e4832de63c2d01b2875f5ce0460271d5e36a1121fb59f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f63696e676869652f796969322d636f6e74616374732e737667)](https://camo.githubusercontent.com/121db4d3d3915700754e4832de63c2d01b2875f5ce0460271d5e36a1121fb59f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f63696e676869652f796969322d636f6e74616374732e737667)[![Total Downloads](https://camo.githubusercontent.com/1c059f2f747e7265bebfd31081ba6690cca66c37f344f4eacc49b3dd60db5e78/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63696e676869652f796969322d636f6e74616374732e737667)](https://packagist.org/packages/cinghie/yii2-contacts)

Yii2 Contacts to create, manage, and delete contacts in a Yii2 site.

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

[](#installation)

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

Either run

```
$ php composer.phar require cinghie/yii2-contacts "*"

```

or add

```
"cinghie/yii2-contacts": "*"

```

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

[](#configuration)

### 1. Update yii2-contacts database schema

[](#1-update-yii2-contacts-database-schema)

Make sure that you have properly configured `db` application component and run the following command:

```
$ php yii migrate/up --migrationPath=@vendor/cinghie/yii2-contacts/migrations

```

With contacts table, will be installed also the country phonecode table

### 2. Set configuration file

[](#2-set-configuration-file)

Set on your configuration file

```
'modules' => [

    // Yii2 Contacts
    'contacts' => [
        'class' => 'cinghie\contacts\Contacts'
     ],

]

```

Overrides
---------

[](#overrides)

Override controller example, on modules config

```
'modules' => [

	'contacts' => [
		'class' => 'cinghie\contacts\Contacts',
		'controllerMap' => [
			'contacts' => 'app\controllers\ContactsController',
			'phonecode' => 'app\controllers\PhonecodeController',
		]
	]

],

```

Override models example, on modules config

```
'modules' => [

	'contacts' => [
		'class' => 'cinghie\contacts\Contacts',
		'modelMap' => [
			'Contacts' => 'app\models\Contacts',
			'Countriescodes' => 'app\models\Countriescodes',
		]
	]

],

```

Override view example, on components config

```
'components' => [

	'view' => [
		'theme' => [
			'pathMap' => [
				'@cinghie/contacts/views/contacts' => '@app/views/contacts/contacts',
			],
		],
	],

],

```

### Permissions

[](#permissions)

To access the module actions the user must have this permissions:

- Create: contacts-create-contacts
- Delete: contacts-delete-all-contacts or contacts-delete-his-contacts
- Index: contacts-index-contacts
- Update: contacts-update-all-contacts or contacts-update-his-contacts
- View: contacts-views-all-contacts or contacts-views-his-contacts

### URLS

[](#urls)

- Contacts: PathToApp/index.php?r=contacts/contacts/index
- Contacts with Pretty Urls: PathToApp/contacts/contacts/index

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance54

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~109 days

Recently: every ~191 days

Total

8

Last Release

2497d ago

### Community

Maintainers

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

---

Top Contributors

[![cinghie](https://avatars.githubusercontent.com/u/2445152?v=4)](https://github.com/cinghie "cinghie (165 commits)")

---

Tags

yii2yii2 contactsyii2 contacts formyii2 contacts manageryii2 contacts createyii2 address book

### Embed Badge

![Health badge](/badges/cinghie-yii2-contacts/health.svg)

```
[![Health](https://phpackages.com/badges/cinghie-yii2-contacts/health.svg)](https://phpackages.com/packages/cinghie-yii2-contacts)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k47](/packages/skeeks-cms)

PHPackages © 2026

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