PHP code example of advans / php-api-lrfc

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

    

advans / php-api-lrfc example snippets

`
$config = new \Advans\Api\Lrfc\Config([
    'base_url' => '*************************',
    'key' => '**********************'
]);
$service_lrfc = new \Advans\Api\Lrfc\Lrfc($config);

$response = $service_lrfc->getByRFC('CACX7605101P8');