承接 ontraport/sdk-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ontraport/sdk-php

最新稳定版本:v1.2.2

Composer 安装命令:

composer require ontraport/sdk-php

包简介

ONTRAPORT PHP Library

README 文档

README

Requirements

PHP version 5.3.2 or greater.

Documentation

Visit our API documentation page for detailed usage information and code examples.

Composer

If you are using composer, you can install our SDK on the command line by entering

composer require ontraport/sdk-php

You can also manually add it to your composer.json file:

{
    "require": {
        "ontraport/sdk-php": "*"
    }
}

To use the library, include Composer's autoload in your scripts:

require_once('vendor/autoload.php');

Manual Installation

If you are not using composer, you can download the latest version. Make sure to include the Ontraport.php file to use this library in your code:

require_once('path/to/src/Ontraport.php');

Namespacing

Our API wrapper is namespaced. This helps you to avoid collisions between the classes and functions in our wrapper and external classes and functions which might have the same name. This means if you want to create an instance of the Ontraport class, you need to either import the OntraportAPI namespace:

use OntraportAPI\Ontraport;

or use a qualified name:

$client = new OntraportAPI\Ontraport("2_AppID_12345678","Key5678")

Click here for more about namespacing in PHP.

统计信息

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

GitHub 信息

  • Stars: 19
  • Watchers: 16
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固