PHP code example of clubdrei / php-dev-server

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

    

clubdrei / php-dev-server example snippets

./vendor/bin/php-dev-server
json
{
    "extra": {
        "clubdrei/php-dev-server": {
            "port": 55555,
            "webDirectory": "public",
            "tlsEnabled": false,
            "p12File": null
        }
    }
}