PHP code example of tinywan / webman-typephp

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

    

tinywan / webman-typephp example snippets


return [
    'enable' => true,
    'docker' => [
        'enabled' => true,
        'image' => 'tinywan/typephp-webman-builder:v0.9.4',
        'static_image' => 'tinywan/typephp-webman-builder-static:v0.9.4',
    ],
    'build' => [
        'output_name' => 'webman-server',
        'dist_dir' => 'dist',
        'clean_build' => true,
    ],
];
bash
php webman typephp:doctor