1. Go to this page and download the library: Download donnicias/nav_ip 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/ */
namespace App\Http\Controllers;
use donnicias\nav_ip\Facades\Nav;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
class IntegrationController extends Controller
{
public function index(){
$payments = Nav::Read(null,'Payments',null,1);
$blob = Nav::Read(['returnString'=>'','payload'=>'110415','service'=>'RENEWALINVOICE'],'BlobHandling','ProcessBlobs',null);
}
}
bash
php artisan vendor:publish
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.