PHP code example of jiesuo-link / appleid-unlock

1. Go to this page and download the library: Download jiesuo-link/appleid-unlock 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/ */

    

jiesuo-link / appleid-unlock example snippets


\JiesuoLink\AppleIdPanelConnector\Bridge\SSPanel\SSPanelBridge::register(
    $app,
    new \App\Middleware\User()
);

$_ENV['APPLE_SHARE_API_URL'] = 'https://jiesuo.link/api/v2/share/page/replace-with-token';

// 可选:限制允许访问独立页面的用户等级;留空表示任意有效等级
$_ENV['APPLE_SHARE_SSPANEL_CLASSES'] = '1,2,3';
text
{{appleId}}
{{appleIdPassword}}
{{appleIdUpdated}}
{{appleIdInterval}}
html
<!--access start-->
<p>账号:{{appleId}}</p>
<p>密码:{{appleIdPassword}}</p>
<!--access end-->
text
GET /user/apple-share
dotenv
APPLE_SHARE_SSPANEL_KNOWLEDGE_PATHS=/user/docs/*/view,/user/tutorial,/user/help