PHPackages                             asbsoft/yii2module-contactform\_3\_170124 - 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. asbsoft/yii2module-contactform\_3\_170124

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

asbsoft/yii2module-contactform\_3\_170124
=========================================

Simple Yii2 contact form. Template of standard module collected in vendor place.

3.12.4(8y ago)04BSD-3-ClausePHPPHP &gt;=5.4

Since Dec 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/asbsoft/yii2module-contactform_3_170124)[ Packagist](https://packagist.org/packages/asbsoft/yii2module-contactform_3_170124)[ RSS](/packages/asbsoft-yii2module-contactform-3-170124/feed)WikiDiscussions master Synced 2d ago

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

Simple Yii2 contact form
========================

[](#simple-yii2-contact-form)

This is demo template of module collected in common vendor place.

You can add this module to your system (advanced Yii2-template) by separate adding BackendModule and FrontendModule. In basic Yii2-template you have to add this modules together.

Otherwise you can use single CommonModule for this purpose.

In your application configs must be some tunes:

- config/params.php: 'adminPath' =&gt; 'admin', // non-empty string for BASIC Yii application template 'adminPath' =&gt; '', // empty string for backend of ADVANCED Yii application template
- in bootstrap: AdminController::$adminPath = Yii::$app-&gt;params\['adminPath'\]; Default is AdminController::$adminPath = 'admin'.

Now only one such module or its' successor can add to system.

Contact form can be used inside other web page by AJAX, for example:

```
