groton-school / slim-lti-shim
Shim to use packbackbooks/lti-1p3-tool in a Slim Skeleton app
3.0.3
2025-08-18 19:39 UTC
Requires
- ext-json: *
- ext-openssl: *
- dflydev/fig-cookies: dev-feat/chips
- groton-school/slim-norms: ^1.0
- odan/session: ^6.4
- packbackbooks/lti-1p3-tool: ^6.3
- php-di/php-di: ^7.0
- psr/http-message: ^2.0
- psr/log: ^3.0
- slim/http: ^1.4
- slim/php-view: ^3.4
- slim/slim: ^4.12
Requires (Dev)
README
Shim to use packbackbooks/lti-1p3-tool
in a Slim Skeleton app
Install
composer require groton-school/slim-lti-shim
Use
-
Inject your LTI Tool configuration into settings:
a. Implement
SettingsInterface
-
Define OIDC launch routes (note that the route group is returned by
RouteBuilder::define()
which allows you to add any necessary middleware); -
Implement (or use an existing implementation of)
CacheInterface
andDatabaseInterface
groton-school/slim-skeleton@dev-gae/lti-tool
groton-school/slim-skeleton is the canonical example of how this shim is meant to be used.