定制 uottawamedtech/tincan 二次开发

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

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

uottawamedtech/tincan

最新稳定版本:0.11.3

Composer 安装命令:

composer require uottawamedtech/tincan

包简介

A fork of the original Tin Can API Library, adapted to query from Saltbox's Wax LRS

README 文档

README

A fork of the original TinCanPHP library, adapted to query statements from Saltbox's Wax LRS. For details on the problem and the implemented solution, see the discussion over in the original project.

Build Status

For hosted API documentation, basic usage instructions, supported version listing, etc. visit the main project website at:

http://rusticisoftware.github.io/TinCanPHP/

For more information about the Tin Can API visit:

http://tincanapi.com/

Requires PHP 5.4 or later. (If you must run something older you should look at the PHP_5_2 branch.)

Installation

This fork of TinCanPHP is available via Composer.

php composer.phar require uottawamedtech/tincan:~0.0

With the package installed require the Composer autoloader:

require 'vendor/autoload.php';

Testing

Tests are implemented using PHPUnit. Configure the LRS endpoint and credentials by copying the tests/Config.php.template to tests/Config.php then setting the values for your LRS.

Once configured run:

phpunit tests

API Doc Generation

Documentation can be output using phpDocumentor2. It will be installed when using Composer. To generate documentation:

./vendor/bin/phpdoc.php

From the root of the repository after running php composer.phar update. Documentation will be output to doc/api.

If you do not have the default timezone set in your php.ini file you can create one in the base of the repo and use the PHPRC environment variable to point to it. Use something like:

export PHPRC="/path/to/repos/TinCanPHP/php.ini"

And set the timezone in that file using:

[PHP]

date.timezone = "US/Central"

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 84
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2014-12-17