PHP code example of reliva / nexgen

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

    

reliva / nexgen example snippets


use Reliva\Nexgen\NexgenClient;

    protected NexgenClient $client;

    public function __construct()
    {
        $this->client = new NexgenClient();
    }
 

use Reliva\Nexgen\NexgenQRClient;

    protected NexgenQRClient $client;

    public function __construct()
    {
        $this->client = new NexgenQRClient();
    }