PHP code example of bycarmona141 / king-monitor

1. Go to this page and download the library: Download bycarmona141/king-monitor 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/ */

    

bycarmona141 / king-monitor example snippets


public function kingIndex(): KingCategoryCollection {
    $response = KingCategoryCollection::make(KingCategory::all());

    KingMonitor::monitor($response);

    return $response;
}