PHP code example of zmoyi / laravel-jstan
1. Go to this page and download the library: Download zmoyi/laravel-jstan 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/ */
zmoyi / laravel-jstan example snippets
use JsTan\Route;
use LaravelJsTan\Facades\JsTan;
/**
* ...
**/
$authUrl = JsTan::Client()->createAuthUrl();
$response = JsTan::Client()->request(
Route::QUERY_SHOPS,[
'page_index' => 1,
'page_size' => 10
]
);
php artisan vendor:publish --tag=laravel-jsTan