PHP code example of wjxcodes / express

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

    

wjxcodes / express example snippets


use Wjxcodes\Express\Express;

$appkey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx';

$weather = new Express($appkey);

$response = $express->getExpressInfo($com,$no,$receiverPhone);

    .
    .
    .
     'express' => [
        'key' => env('JUHE_EXPRESS_APP_KEY'),
    ],

    .
    .
    .
    public function query(Express $express) 
    {
        $response = $express->getExpressInfo($com,$no,$receiverPhone);
    }
    .
    .
    .

    .
    .
    .
    public function query() 
    {
        $response = app('express')->getExpressInfo($com,$no,$receiverPhone);
    }
    .
    .
    .