PHPackages                             daxslab/yii2-contactform-module - 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. daxslab/yii2-contactform-module

ActiveYii2-extension[Localization &amp; i18n](/categories/localization)

daxslab/yii2-contactform-module
===============================

Yii2 module for including contact forms.

1.0.5(5y ago)1163[3 issues](https://github.com/daxslab/yii2-contactform-module/issues)1MITPHP

Since Sep 1Pushed 5y ago2 watchersCompare

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

READMEChangelog (6)Dependencies (2)Versions (7)Used By (1)

Yii2 Contact Form
=================

[](#yii2-contact-form)

[![Latest Stable Version](https://camo.githubusercontent.com/b95ddfce289d64262632dd90c43419cf92aa2cba92769a7ae63a12cba3c36211/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d636f6e74616374666f726d2d6d6f64756c652f762f737461626c652e737667)](https://packagist.org/packages/daxslab/yii2-contactform-module)[![Total Downloads](https://camo.githubusercontent.com/63634a3262ff2ede48f3b53a8362fc228f9bea3245dfe3148008ddaeb88020de/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d636f6e74616374666f726d2d6d6f64756c652f646f776e6c6f616473)](https://packagist.org/packages/daxslab/yii2-contactform-module)[![Latest Unstable Version](https://camo.githubusercontent.com/3a8370f865365d9c3e91b332c433dbc5b29b2d31bd47d5770a9284ba001eff4a/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d636f6e74616374666f726d2d6d6f64756c652f762f756e737461626c652e737667)](https://packagist.org/packages/daxslab/yii2-contactform-module)[![License](https://camo.githubusercontent.com/5511a808ae5c1f8159956236b2475f6151210b95e0d9e15f1f8366782f78d636/68747470733a2f2f706f7365722e707567782e6f72672f646178736c61622f796969322d636f6e74616374666f726d2d6d6f64756c652f6c6963656e73652e737667)](https://packagist.org/packages/daxslab/yii2-contactform-module)

Yii2 module for including contact forms

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist daxslab/yii2-contactform-module "*"

```

or add

```
"daxslab/yii2-contactform-module": "*"

```

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

Usage
-----

[](#usage)

Setup the module on config file

```
'modules' => [
    //...
    'contactForm' => [
        'class' => 'daxslab\contactform\Module',
        'viewPath' => '@app/views/contactForm', //you can configure the view path in order to use custom views
    ],
    //...
],

```

Partial usage
-------------

[](#partial-usage)

You can embed the form on any view using `Yii::$app->runAction('/contactForm/default/contact', ['renderPartial' => true])`.

Customization
-------------

[](#customization)

- email: email to send and receive email.
- successMessage: message to show to set on flash when sending email.
- errorMessage: message to show to set on flash if failed when sending email.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~157 days

Recently: every ~131 days

Total

6

Last Release

2024d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13596248?v=4)[Gabriel Alejandro López López](/maintainers/glpzzz)[@glpzzz](https://github.com/glpzzz)

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

---

Top Contributors

[![glpzzz](https://avatars.githubusercontent.com/u/13596248?v=4)](https://github.com/glpzzz "glpzzz (5 commits)")[![cccaballero](https://avatars.githubusercontent.com/u/3727802?v=4)](https://github.com/cccaballero "cccaballero (1 commits)")

---

Tags

i18nyii2locale

### Embed Badge

![Health badge](/badges/daxslab-yii2-contactform-module/health.svg)

```
[![Health](https://phpackages.com/badges/daxslab-yii2-contactform-module/health.svg)](https://phpackages.com/packages/daxslab-yii2-contactform-module)
```

###  Alternatives

[codemix/yii2-localeurls

Automatic locale/language management for URLs.

4071.3M30](/packages/codemix-yii2-localeurls)[tigrov/yii2-country

Country data for Yii2 using Intl extension and more.

151.1k](/packages/tigrov-yii2-country)[devgroup/yii2-multilingual

Allows building yii2 apps for multiple languages using regional URL's and domains

152.6k2](/packages/devgroup-yii2-multilingual)

PHPackages © 2026

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