PHP code example of ychabaniuk / server-runner

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

    

ychabaniuk / server-runner example snippets

yaml
extensions:
    enabled:
        - Ychabaniuk\ServerRunner\ServerRunner
    config:
        Ychabaniuk\ServerRunner\ServerRunner:
            serverFolder: 'libs/server/'
            driverFolder: 'libs/driver/'
            serverStartTime: 5
            debug: false