PHP code example of storinka / invoke-toolkit-explore

1. Go to this page and download the library: Download storinka/invoke-toolkit-explore 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/ */

    

storinka / invoke-toolkit-explore example snippets


use Invoke\Toolkit\Explore\InvokeToolkitExplore;

$html = InvokeToolkitExplore::render(
    url: '/invoke/getApiDocument',
    base: '/invoke-explore'
);

// routes/web.php

use Invoke\Toolkit\Explore\InvokeToolkitExplore;

Route::get('/invoke-explore', function () {
    return InvokeToolkitExplore::render(
        url: '/api/invoke/getApiDocument',
        base: '/invoke-explore'
    );
});