PHP code example of floor12 / yii2-module-feedback

1. Go to this page and download the library: Download floor12/yii2-module-feedback library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

floor12 / yii2-module-feedback example snippets

  
'modules' => [
    'modules' => [
        'feedback' => [
            'class' => 'floor12\feedback\Module',
        ],
    ]
    ...

[
    'params'=>[
        'no-replyEmail' => '[email protected]',
        'no-replyName' => 'Мебельный Центр Москва',
        'contactForm' => [
                [
                    'title' => 'По общим вопросам',
                    'emails' => ['[email protected]', '[email protected]']
                ],
                [
                    'title' => 'По вопросам аренды',
                    'emails' => ['[email protected]', '[email protected]']
                ]
            ]
        ]
    ];