PHP code example of dmanavi / ddns

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

    

dmanavi / ddns example snippets


 
ini
; /etc/php/8.3/fpm/pool.d/ddns.conf
env[DDNS_CONFIG] = /srv/ddns/config/ddns.yaml
env[DDNS_LOG_LEVEL] = INFO
catch_workers_output = yes

public_html/
    index.php             pp/public/.htaccess
    ddns-app/
        .htaccess            Require all denied
        config/ddns.yaml     your config
bash
composer install
./bin/ddns config:init --sample
php -S 127.0.0.1:8080 -t public public/index.php