PHP code example of wjh / tuling

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

    

wjh / tuling example snippets


Wjh\Tuling\ServiceProvider::class,

$tuling = new Wjh\Tuling\Tuling($appUrl, $appKey, new Curl\Curl());
$tuling->handle();

php artisan vendor:publish --provider="Wjh\Tuling\ServiceProvider"

return [
    'app_url' => env('tuling_app_url'),
    'app_key' => env('tuling_app_key'),
];