PHP code example of miaomiao / meituan-delivery
1. Go to this page and download the library: Download miaomiao/meituan-delivery 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/ */
miaomiao / meituan-delivery example snippets
$req = new MeituanShopCreateReq();
$req->setShopId(1);
$req->setShopName("xxx");
$res = (new Meituan("appkey", "secret"))->shopCreate($req);
halt($res);