uottawamedtech/tincan
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.
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:
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"
uottawamedtech/tincan 适用场景与选型建议
uottawamedtech/tincan 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 310 次下载、GitHub Stars 达 0, 最近一次更新时间为 2014 年 12 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「e-learning」 「scorm」 「xAPI」 「Experience API」 「tincan」 「tin can」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 uottawamedtech/tincan 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 uottawamedtech/tincan 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 uottawamedtech/tincan 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
common exception classes for Experience API implementations
common test data fixtures for Experience API related packages
common JSON test fixtures for Experience API related packages
abstract definition of an xAPI repository interface
client library for the Experience API (xAPI)
A framework for TRAX LRS
统计信息
- 总下载量: 310
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2014-12-17