PHP code example of kayac / sheet

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

    

kayac / sheet example snippets


    Kayac\Sheet\CallRouteServiceProvider::class
    

php artisan vendor:publish --provider="Kayac\Sheet\CallRouteServiceProvider" --tag=config



namespace App\Http\Controllers;

use Illuminate\Routing\Router;
use Kayac\Sheet\SheetReader;

class MasterDataController extends MyController
{
    function __construct(Router $router)
    {
        parent::__construct($router);
    }

    public function index() {
        $sheet = new SheetReader();
        $sheet->generateKey();
    }

}



php artisan route:call --uri=/master-data