How to get a data from another microservice in laravel

Posted by

Create modal in the client side :-

app\payment.php

In config\database.php

Add :-

In .ENV

Add

In Controller —-> Import modal

use App\payments;
use App\Http\Controllers\Api\PaymentApiController;

Add In function :-