Download the PHP package pressbooks/pressbooks-lti-provider without Composer

On this page you can find all versions of the php package pressbooks/pressbooks-lti-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pressbooks-lti-provider

Pressbooks LTI Provider

Contributors: conner_bw, greatislander
Tags: pressbooks, lti, lms
Requires at least: 6.0
Tested up to: 6.0.2 Stable tag: 2.0.0 Requires PHP: 7.4 License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

NOTE: This plugin is no longer being used by Pressbooks and has been deprecated. We have archived this repo, as it is no longer being maintained.

This plugin turns Pressbooks into an LTI provider.

Description

Packagist GitHub release Travis Codecov

A plugin that turn Pressbooks into an LTI Provider.

This plugin is built on top of a (forked and maintained) IMS Global Learning Consortium provided LTI-Tool-Provider-Library-PHP abstraction layer. It includes support for LTI 1.1 and the unofficial extensions to LTI 1.0, as well as the registration process and services of LTI 2.0.

Installation

Or, download the latest version from the releases page and unzip it into your WordPress plugin directory): https://github.com/pressbooks/pressbooks-lti-provider/releases

Then, activate and configure the plugin at the Network level.

Read the integrations documentation for more info: https://docs.pressbooks.org/integrations/lti/

Troubleshooting

Deep Linking

Connect URL (LTI 2 Registration URL)

https://site/book/format/lti

Book cover page

https://site/book/format/lti/launch

Post_id

https://site/book/format/lti/launch/123

Post_type + Post_name

https://site/book/format/lti/launch/front-matter/introduction

Root site compatibility:

https://site/format/lti/BOOK_ID?page_id=123

https://site/format/lti/BOOK_ID/launch/123

https://site/format/lti/BOOK_ID/launch/front-matter/introduction

ContentItemSelectionRequest (Automatic Configuration)

Pressbooks supports incoming content-item requests for media type values of application/vnd.ims.lti.v1.ltilink.

This feature allows course designers to select which chapter they want to display from inside their LMS.

When configuring, the Launch URL will be something like https://site/book/format/lti where https://site/book is the URL to your book. Setup instructions follow:

Note: Automatic configuration is a feature of the LTI 2.0 specification. Support, usefulness, varies between Learning Management Systems.

Moodle

First, whitelist the Tool Consumer domain in Pressbooks "LTI2 Registration Whitelist".

In Moodle go to: Site Administration -> Plugins -> Manage Tools -> Add tool. Paste in the Launch URL. Follow the configuration steps.

Once configured, you can pick a chapter when adding an external tool by clicking "Select Content".

Canvas

Settings -> Apps -> View App Configuration -> +App. Configure using the "Paste XML Configuration Type" with the following XML snippet, making sure to replace https://site/book/format/lti with your Launch URL:

More info.

Sakai

Click on the Site Info tool in the left navigation area. Click on the External Tools tab. Click on Install LTI 1.1 link.

When entering the information, make sure to select: Allow the tool to be launched as a link, Allow external tool to configure itself, and Allow the tool to be used from the rich content editor to select content.

Once configured, use "Launch External Tool Configuration" when adding an External Tool.

Blackboard

System Admin -> LTI Tool Providers -> Register Provider Domain. Configure accordingly.

Next, from the options menu (little arrow next to the configured domain) select: Manage Placements, then Create Placement.

When entering the information make sure to select: Course content tool and Supports deep linking.

The placement will be available in your Course the under Build Content menu.

Common Cartridge

Allows users to export books as "Thin" Common Cartridge zip files. Supports CC 1.1, 1.2 and 1.3. Produces .imscc (zip) files with LTI links. Some notes:

Thanks to Ed Beck, Bracken Mosbacker, Brad Payne, Steel Wagstaff and everyone in https://pressbooks.community/ who helped us get this working.

Screenshots

Changelog

2.0.0

Upgrade Notice

2.0.0

Pressbooks LTI Provider 2.0.0 requires Pressbooks >= 6.0.0

1.3.6

Pressbooks LTI Provider requires PHP 7.4


All versions of pressbooks-lti-provider with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
composer/installers Version ^2
pressbooks/mix Version ^2.1
izumi-kun/lti Version ^1.2
phpcompatibility/php-compatibility Version ^9.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pressbooks/pressbooks-lti-provider contains the following files

Loading the files please wait ....