PHP code example of nukefromorbit / nuke-php

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

    

nukefromorbit / nuke-php example snippets

mermaid
    sequenceDiagram
        participant nuke as Nuke
        participant service as Service Domain
    
        note over service: create TXT DNS for _nuke_verify.{your service domain}<br><br>payload:<br>{nuke token}
    
        nuke ->> service: CHECK TXT DNS _nuke_verify.{your service domain} for {nuke token}
    
        service -->> nuke: Domain is verified
    
        note over service: delete TXT DNS for _nuke_verify.{your service domain}