ATT-SMS-Code-kit-source
所属分类:手机彩信(MMS)编程
开发工具:PHP
文件大小:348KB
下载次数:1
上传日期:2017-02-28 04:15:43
上 传 者:
5456994
说明: AT&T消息工具包提供多渠道消息传递
平台,结合移动文本(短信和彩信),电子邮件,聊天,
语音广播和社交媒体集成到一个基于Web的平台中。
(AT&T Messaging Toolkit offers a multi-channel messaging
platform that combines mobile text (SMS and MMS), email, chat,
voice broadcast, and social media into one web-based platform. )
文件列表:
codekit-php (0, 2017-02-17)
codekit-php\.DS_Store (6148, 2016-01-29)
... ...
# PHP Codekit
## Description
The AT&T PHP Codekit allows you to interact with AT&T's APIs.
## Requirements
- PHP 5.4 or higher
- PHP CURL extension
## Installation
Clone the latest version of the [Codekit](https://github.com/attdevsupport/codekit-php)
to a folder.
From the Codekit folder, copy the 'lib' folder to the _DocumentRoot_
folder; for example, this folder might be: _/var/www/_
## Usage
Include or require the relevant parts of the Codekit. For example, if the
Codekit is installed in the _/var/www/lib/_ directory and there is a file
called app.php in the _/var/www/app/_ folder, you can require the OAuth library
by adding the following line of code to the app.php file:
require_once __DIR__ . '../lib/OAuth/OAuthTokenService.php';
Both the example code and the
[PHP sample applications](https://developer.att.com/developer/forward.jsp?passedItemId=13200286&parentItemId=13100236)
can be used as references to see usage.
## Example Code
Examples can be found in the 'examples' folder. Each example must be modified
before it can be executed, and each example file contains comments detailing
the changes needed.
## Test Code
To run the test code, PHPUnit is required. For directions on installing
PHPUnit, refer to [PHPUnit github page.](https://github.com/sebastianbergmann/phpunit/)
Test code can be found in the 'tests' folder for unit tests and
'integration\_tests' for integration tests. The `phpunit` command can be used
to run these tests. For example, to run unit tests:
phpunit tests
To run integration tests, the configuration values in 'integration\_tests/cfgs/'
must be configured.
## Documentation
The Codekit contains inline documentation, which can be generated using
phpDocumentor via the phpdoc command. For directions on installing
phpDocumentor, refer to its [website.](http://www.phpdoc.org/) For example, to
generate the documentation to the 'output' folder, the following command can be
used:
phpdoc run -d lib -t output
## Coding Standards
The Codekit follows the [PEAR](http://pear.php.net/manual/en/coding-standards.php)
coding standards.
近期下载者:
相关文件:
收藏者: