PHP code example of trylife / yii2-atk

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

    

trylife / yii2-atk example snippets


    'components' => [
        'mp' => [
            'class' => 'trylife\atk\Atk',
            'atkBaseUrl' => 'http://host.docker.internal:8080',
            'appType' => "wxmp",
            'appId' => 'wxfdxxxxx',
            'basicAuthUser' => 'user',
            'basicAuthPass' => 'pass',
        ],
    ],