droath/scormcloud-php-library
Composer 安装命令:
composer require droath/scormcloud-php-library
包简介
A PHP library to aid in the integration of the SCORM Cloud web services into PHP applications.
README 文档
README
The SCORM Cloud PHP Library is intended to aid in the integration of the SCORM Cloud service API into PHP applications. This library does not cover all possible SCORM Cloud service API calls, but it does cover the basics. Descriptions of the full API can be found here: http://cloud.scorm.com/EngineWebServices/doc/SCORMCloudAPI.html
Using the Library
To use the library, include the accompanying files in your PHP project and require the ScormEngineService.php file.
The files inside the samples folder are not necessary for the functionality of the library. They are included with the library as a sample app. This sample app displays how to do most of the basic functionalities of the library. To use this sample app, you will need to customize the config.php file with your credentials, providing your appId and your secret key (you get these from the SCORM Cloud site on the apps page). Once configured and placed on your web server, simply browse to the samples/CourseListSample.php to get started. Note that the sample files do depend on their relative placement to the main Library files.
Composer
If you're using Composer, you can simply add a dependency droath/scormcloud-php-library to your project's composer.json file. Here's a snippet of the composer.json.
{
"require": {
"droath/scormcloud-php-library": "dev-master"
}
}
Updates:
v1.3.1 (5.1.2012)
- Added Invitation Service to manage SCORM Cloud invitations through the new Invitation Service in the SCORM Cloud API.
- Added sample invitation service implementation to the samples folder (demo app).
- Modified the import sample to use a more streamlined process which posts and imports a course package directly into the SCORM Cloud instead of using the 2-part process of uploading and then importing. The ImportFinish.php is no longer used and is deleted.
v1.2.1 (2.16.2011)
- Signature Changes for this release: (Note that this release does change things more than we like, but our main goal was to create some uniformity with the other API libraries (java, .net, etc.). We tried to maintain backwards compatibility where we could.)
- Added CourseService::GetAttributes(courseid,versionid) function to get the set of modifiable course attributes and their values. Returns a dictionary hash array of the attributes and to their values.
- Added CourseService::UpdateAttributes(courseid,versionid,attributepairs) function to update attributes. Returns a dictionary hash array of updated attributes.
- Added UploadService::DeleteFile(location) function to delete files that have been uploaded to the SCORM Cloud server. This function will not delete an imported course, but instead will delete files that have been uploaded to a transition area on the server prior to import.
- Added RegistrationService::UpdateLearnerInfo(learnerid,fname,lname,newid) function to update a learner's firstname, lastname and optionally assign a new learnerid.
- Added the DebugService and the CloudPing() and CloudAuthPing() functions. CloudPing makes sure the SCORM Cloud server is reachable. The CloudAuthPing checks your appId credentials against the SCORM Cloud. Both return boolean values.
v1.1.3 (10.28.2010)
- Added Exists method to CourseService and RegistrationService
- Updated GetPropertyUrl method in CourseService to use rustici.course.properties service call
v1.1.2 (10.26.2010)
- Added simplified ImportCourse call that automates the two step upload / import process
v1.1.1 (2.2.2010)
- Added async upload with callback url
- Added access to Reportage widgets via ReportingService.php
- Added tagging support for Reportage integration
droath/scormcloud-php-library 适用场景与选型建议
droath/scormcloud-php-library 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 896 次下载、GitHub Stars 达 1, 最近一次更新时间为 2015 年 04 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 droath/scormcloud-php-library 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 droath/scormcloud-php-library 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 896
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-04-23