Skip to content

storinka/invoke-toolkit-explore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invoke Toolkit Explore

Invoke Explore for PHP.

Installation

composer require storinka/invoke-toolkit-explore:^2

Usage

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'
    );
});