定制 neverbounce/neverbounce-php 二次开发

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

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

neverbounce/neverbounce-php

最新稳定版本:v4.5.0

Composer 安装命令:

composer require neverbounce/neverbounce-php

包简介

This package provides convenient methods to integrate the NeverBounce API into your project.

README 文档

README

Build Status

Looking for the V3 API wrapper? Click here

This is the official NeverBounce API PHP wrapper. It provides helpful methods to quickly implement our API in your existing php applications.

Requirements

  • PHP 7.1 or greater
  • PHP JSON extension
  • PHP cURL extension

For PHP 5.5 - 7.0 use the 4.1 branch

Installation

Composer Installation

This package takes advantage of composer's autoloading features, following the PSR-4 guidelines.

To install using composer you can run

composer require "neverbounce/neverbounce-php":"~4.5.0"

Or add this to your composer.json

{
  "require": {
    "neverbounce/neverbounce-php":"~4.5.0"
  }
}

and run composer install

Manual Installation

You can clone the repo directly and include the files yourself via an auto loader. Keep in mind that this package does follow the PSR-4 spec. git clone https://github.com/creavos/NeverBounceAPI-PHP

Running Examples

First clone or download the repository to your local machine and install the composer dependencies. Once the composer dependencies are installed create a new file in the project's root directory called .api-key.php with the following contents (adding your own API key):

<?php

$api_key = "secrete_api_key_goes_here";

With the API key file created you can now run the examples contained within the example/ directory.

php examples/account-info.php

统计信息

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

GitHub 信息

  • Stars: 25
  • Watchers: 10
  • Forks: 21
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-11