PHP code example of weiwait / dcat-filesystem-config

1. Go to this page and download the library: Download weiwait/dcat-filesystem-config 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/ */

    

weiwait / dcat-filesystem-config example snippets


    public function index(Content $content): Content
    {
        $tab = Tab::make();
        $tab->add('文件存储', new \Weiwait\WECHAT\Forms\FilesystemConfig());

        return $content->title('配置')
            ->body($tab->withCard());
    }