PHP code example of jormin / laravel-tuling
1. Go to this page and download the library: Download jormin/laravel-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/ */
jormin / laravel-tuling example snippets
Jormin\TuLing\TuLingServiceProvider::class,
$message = '西安天气';
$userID = '用户ID';
$location = '陕西省西安市雁塔区';
Jormin\TuLing\TuLing::chat($message, $userID, $location);
shell
php artisan vendor:publish