PHP code example of logs12 / yii2-callback

1. Go to this page and download the library: Download logs12/yii2-callback 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/ */

    

logs12 / yii2-callback example snippets

bash
 echo app\modules\callback\widgets\Callback::widget(['typeView' => 'simpleForm']);
bash
<button class="btn btn-success callback"
        entity="Заявка с кнопки обратного звонка в шапке">
    Заказать звонок
</button>
 echo app\modules\callback\widgets\Callback::widget(['typeView' => 'popupForm']);