Invoke Explore for PHP.
composer require storinka/invoke-toolkit-explore:^2
Basic:
use Invoke\Toolkit\Explore\InvokeToolkitExplore;
$html = InvokeToolkitExplore::render(
url: '/invoke/getApiDocument',
base: '/invoke-explore'
);
Laravel:
// routes/web.php
use Invoke\Toolkit\Explore\InvokeToolkitExplore;
Route::get('/invoke-explore', function () {
return InvokeToolkitExplore::render(
url: '/api/invoke/getApiDocument',
base: '/invoke-explore'
);
});