PHP code example of yggverse / nex

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

    

yggverse / nex example snippets

 php
$client = new \Yggverse\Nex\Client;
 php
var_dump(
    $client->request(
        'nex://nightfall.city/nex/'
    )
);
 php
$server = new \Yggverse\Nex\Server;
 php
$server = new \Yggverse\Nex\Server('127.0.0.1', 1900);