定制 gototus/totus 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gototus/totus

最新稳定版本:0.1.4

Composer 安装命令:

composer require gototus/totus

包简介

PHP Totus Library

README 文档

README

A php client for the Totus API.

Basic Usage

TOTUS_KEY environment variable will be used to pick the api key (create one here)

require 'vendor/autoload.php';

use GoTotus\Totus\Client;

$totus = new Client(); // can provide api key via constructor or TOTUS_KEY env var

// Reference: GeoPOI
$pois = $totus->Reference()->GeoPOI(gh: '69y7pkxfc', distance: 1000, what: 'shop', limit: 10);
iprint_r(pois);

// Reference: IP
$ipInfo = $totus->Reference()->IP(i4: '8.8.8.8');
print_r($ipInfo);


// Validate: Email
$email = $totus->Validate()->email('info@x.com');
echo $email;

Examples

For further examples, check the examples/ folder in this project. Or a public copy at the GitHub Website.

Manuals

For detailed manuals about Totus please check: docs.gototus.com

Installing

composer require gototus/totus

Packagist project page

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-4-Clause
  • 更新时间: 2025-03-14