PHP code example of tommy-dai / ahlife-sdk
1. Go to this page and download the library: Download tommy-dai/ahlife-sdk 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/ */
tommy-dai / ahlife-sdk example snippets
$config = life\App::app($config);
// 授权中心
$ocenter = $app->ocenter('we5');
$config = $ocenter->js(['onMenuShareTimeline', 'onMenuShareAppMessage'], false, true);
// 腾讯滑动验证
$tcverify = $app->tcverify();
$tcverify->verify();