PHP code example of maya / veg

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

    

maya / veg example snippets



use maya\veg\VegWidget;       //подключаем виджет


use maya\veg\VegAsset;        //подключаем ресурсы для виджета

use maya\veg\VegInitAsset;



VegAsset::register($this);    //регистрируем ресурсы

VegInitAsset::register($this);