Scorm Player Api for play scorm modules

Overview

flux-scorm-player-api

Scorm Player Api for play scorm modules

Installation

Native

Download

RUN (mkdir -p /%path%/libs/flux-scorm-player-api && cd /%path%/libs/flux-scorm-player-api && wget -O - https://github.com/fluxfw/flux-scorm-player-api/releases/download/%tag%/flux-scorm-player-api-%tag%-build.tar.gz | tar -xz --strip-components=1)

or

Download https://github.com/fluxfw/flux-scorm-player-api/releases/download/%tag%/flux-scorm-player-api-%tag%-build.tar.gz and extract it to /%path%/libs/flux-scorm-player-api

Load

require_once __DIR__ . "/%path%/libs/flux-scorm-player-api/autoload.php";

Composer

{
    "repositories": [
        {
            "type": "package",
            "package": {
                "name": "flux/flux-scorm-player-api",
                "version": "%tag%",
                "dist": {
                    "url": "https://github.com/fluxfw/flux-scorm-player-api/releases/download/%tag%/flux-scorm-player-api-%tag%-build.tar.gz",
                    "type": "tar"
                },
                "autoload": {
                    "files": [
                        "autoload.php"
                    ]
                }
            }
        }
    ],
    "require": {
        "flux/flux-scorm-player-api": "*"
    }
}

Environment variables

Variable Description Default value
FLUX_SCORM_PLAYER_API_FILESYSTEM_FOLDER Scorm directory /scorm
FLUX_SCORM_PLAYER_API_DATABASE_PASSWORD MongoDB password
Use FLUX_SCORM_PLAYER_API_DATABASE_PASSWORD_FILE for docker secrets
-
FLUX_SCORM_PLAYER_API_DATABASE_HOST MongoDB host scorm-player-database
FLUX_SCORM_PLAYER_API_DATABASE_PORT MongoDB port 27017
FLUX_SCORM_PLAYER_API_DATABASE_USER MongoDB user name scorm-player
FLUX_SCORM_PLAYER_API_DATABASE_DATABASE MongoDB database name scorm-player
FLUX_SCORM_PLAYER_API_DATA_STORAGE_TYPE Data storage type
database or external_api
database
FLUX_SCORM_PLAYER_API_EXTERNAL_API_GET_DATA_URL External api data storage get url
You can use {scorm_id} and {user_id} placeholders
-
FLUX_SCORM_PLAYER_API_EXTERNAL_API_STORE_DATA_URL External api data storage store url
You can use {scorm_id} and {user_id} placeholders
-
FLUX_SCORM_PLAYER_API_EXTERNAL_API_DELETE_DATA_URL External api data storage delete url
You can use {scorm_id} placeholder
-

Minimal variables required to set are bold

Example

Look at flux-scorm-player-rest-api

You might also like...
Test essentials for writing testable code that interacts with Magento core modules

Essentials for testing Magento 2 modules Using mocking frameworks for testing Magento 2 modules is counterproductive as you replicate line by line you

Library for check dependency between modules inside projects

PHP Dependency analyzer PHP DA is tool for check and support dependencies inside your project clear. For example: You have project with 3 root namespa

Experimenting with Zabbix frontend modules
Experimenting with Zabbix frontend modules

Modules Request for new example can be left as issue for this repository, will do my best to implement if it is possible. Extending host popup menu Ac

Simple way to auto load modules without complicate definition of routes

Phalcon-autorouter Version 2.0 Example full application with various libraries included in this example Change log Structure have been changed and upd

WordPress plugin which contains a collection of modules to apply theme-agnostic front-end modifications

Soil A WordPress plugin which contains a collection of modules to apply theme-agnostic front-end modifications. Soil is a commercial plugin available

Magento-composer-installer - Composer installer for Magento modules
Magento-composer-installer - Composer installer for Magento modules

!!! support the maintainer of this project via Patreon: https://www.patreon.com/Flyingmana Magento Composer Installer The purpose of this project is t

This module adds a command to easily generate "modules" in Laravel and install them using composer.

Laravel Module Create This module adds a command to easily generate "modules" in Laravel and install them using composer Installation Simply install t

Check modules in app/code and vendor for PHP 8 compatibility status - PHP_CodeSniffer & php-compatibility standard
Check modules in app/code and vendor for PHP 8 compatibility status - PHP_CodeSniffer & php-compatibility standard

M2 PHP version compatibility check How To use Requires PHP 7.3+ | PHP 8 This app will run PHP_CodeSniffer with phpcompatibility/php-compatibility on t

Friendly open source CMS forged on Codeigniter 3. FI v1.x uses the old lite theme and all modules.
Friendly open source CMS forged on Codeigniter 3. FI v1.x uses the old lite theme and all modules.

ForgeIgniter v1.x - CI-3.x Friendly open source CMS forged on Codeigniter 3 This version is now discontinued, please check version 2 or 3 for updates.

Releases(v2022-12-12-1)
Owner
null
A PHP library to play with the Raspberry PI's GPIO pins

php-gpio php-gpio is a simple PHP library to play with the Raspberry PI's GPIO pins. It provides simple tools such as reading & writing to pins. [UPDA

Ronan Guilloux 266 Oct 17, 2022
Get mobile app version and other related data from Google Play Store, Apple App Store and Huawei AppGallery

Mobile App Version Get mobile app version and other related data from Google Play Store, Apple App Store and Huawei AppGallery. Installation Add to co

Omer Salaj 11 Mar 15, 2022
PHP exercises from my course at ETEC and some of my own play-around with PHP

etec-php-exercises PHP exercises from my course at ETEC and some of my own play-around with PHP Translations: Português (BR) Projects Project Descript

Luis Felipe Santos do Nascimento 6 May 3, 2022
It's goal is to create my own platform where I can play various board games I like.

Card games The goal of this project is to create a social platform where players can communicate, create lobbies and play various board games. Current

Ondřej Mastík 2 Oct 29, 2021
This plugin allow you play music from resources pack in minecraft

Music Player for PocketMine-MP Commands music-start songname music-stop songname IMPORTANT! You must add music resources pack to PocketMine resources

Excalibur 1 Oct 14, 2021
Plug-and-Play Custom Enchants Plugin For PocketMine-PMP

DEVELOPER'S NOTE: I can tell you right now this plugin hasn't been tested. I haven't even checked to see if it loads without crashing yet. Half of thi

VANIC 10 Oct 23, 2021
Plug-and-Play Custom Enchants Plugin For PocketMine-PMP

DEVELOPER'S NOTE: I can tell you right now this plugin hasn't been tested. I haven't even checked to see if it loads without crashing yet. Half of thi

VANIC 10 Oct 23, 2021
PHP scraper to get data from Google Play

nelexa/google-play-scraper PHP library to scrape application data from the Google Play store. Checking the exists of the app on Google Play. Retrievin

Pisarev Alexey 57 Dec 20, 2022
It's MX Player API gives All Content in JSON format

?? MXPlayer API ?? ?? MXPlayer API Can get Streaming URLs and Other Data in JSON Format From mxplayer.in links for Streaming ?? How to Use : ?? Method

Techie Sneh 8 Nov 30, 2021
API plugin to open a dialog for choosing another player.

ChoosePlayer API plugin for choosing a player interactively. API Let player select another player This API method opens a dialog to let player $choose

Jonathan Chan Kwan Yin 4 Aug 16, 2022