PHP code example of janfish / report

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

    

janfish / report example snippets


return [
   'repo' => [
        [
            'name' => '融保界',
            'path' => '/data/backend.insurance.genius',
        ],
        [
            'name' => '周报',
            'path' => '/data/report',
        ],
    ],
    'download_folder' => 'down',
    'identifier' => 'rep',
    'author' => 'Robert',
    'title' => '%s年伙食团工作周报表',
    'real_name' => '张三',
    'department' => 'R&D',
    'auto_pull' => false,
    'debug' => true,
];

./Run 5 '2019-07-04 12:00:00'