cleantalk/remote-calls
最新稳定版本:1.6.0
Composer 安装命令:
composer require cleantalk/remote-calls
包简介
CleanTalk APBCT of `RemoteCalls` family classes
README 文档
README
Install:
composer require cleantalk/remote-calls
Using:
<?php $storage_handler = new \Cleantalk\Custom\StorageHandler\StorageHandler(); $api_key = 'your_api_key'; $remote_calls = new \Cleantalk\Common\RemoteCalls\RemoteCalls($api_key, $storage_handler); if ( $remote_calls::check() ) { try { die $remote_calls->process(); } catch ( \Cleantalk\Common\RemoteCalls\Exceptions\RemoteCallsException $exception ) { // Do logging here die 'FAIL ' . json_encode(array('error' => $exception->getMessage())) } }
统计信息
- 总下载量: 435
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2022-10-19