PHP code example of margatampu / laravel-inspector

1. Go to this page and download the library: Download margatampu/laravel-inspector 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/ */

    

margatampu / laravel-inspector example snippets


MargaTampu\LaravelInspector\InspectorServiceProvider::class

$app->register(MargaTampu\LaravelInspector\InspectorServiceProvider::class);

$app->configure('inspector');

MargaTampu\LaravelInspector\Inspector::api();

'models' => [
    'App\User'
],
bash
$ php artisan vendor:publish --provider="MargaTampu\LaravelInspector\InspectorServiceProvider"
bash
$ php artisan migrate
bash
$ php artisan inspector:auth
bash
$ php artisan inspector:auth --new
bash
$ php artisan inspector:auth --name={$id}
bash
$ php artisan inspector:auth --refresh={$id}
bash
$ php artisan inspector:test --model
$ php artisan inspector:test --log
$ php artisan inspector:test --request