PHP code example of tutu-ru / lib-request-metadata

1. Go to this page and download the library: Download tutu-ru/lib-request-metadata 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/ */

    

tutu-ru / lib-request-metadata example snippets


$requestMetadata = new RequestMetadata();
$requestMetadata->set(RequestMetadata::ATTR_REQUEST_ID, 'request-id-value');

$requestMetadata = new RequestMetadata();
$requestMetadata->init();