PHP code example of v3toys / skeeks

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

    

v3toys / skeeks example snippets



'components' =>
[
    'dbV3project' => [
        'class' => 'yii\db\Connection',
        'dsn' => 'pgsql:host=db.v3project.ru;port=5432;dbname=v3toys_ru',
        'username' => 'username',
        'password' => 'password',
        'charset' => 'utf8',
    ],
        
    'v3toysApi' =>
    [
        'class' => 'v3toys\yii2\api\Api'
    ],

    'v3toysSettings' =>
    [
        'class' => 'v3toys\skeeks\components\V3toysSettings'
    ],

    'i18n' =>
    [
        'translations' =>
        [
            'v3toys/skeeks' =>
            [
                'class'             => 'yii\i18n\PhpMessageSource',
                'basePath'          => '@v3toys/skeeks/messages',
                'fileMap' => [
                    'v3toys/skeeks' => 'main.php',
                ],
            ]
        ]
    ],
],

'modules' =>
[
    'v3toys' =>
    [
        'class'                 => 'v3toys\skeeks\V3toysModule',
    ]
]


php composer.phar