Download the PHP package vch-lt/path without Composer
On this page you can find all versions of the php package vch-lt/path. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package path
Short Description PHP SDK and Craft CMS adapter for Path patient tracking software
License ISC
Informations about the package path
Path SDK
Path SDK connects course websites to the Path learner API. This repository publishes the JavaScript
package @vch-lt/path and Composer package vch-lt/path from the same source commit and version tag.
Shared contract
Both languages expose the same primary operations:
getLearnerState()returnsuser,course,milestones, andprogressat the state root.checkAuth()returns the authenticated user ornull.- The authenticated user's read-only course attributes are at
user.attributes. - Learner-store data is fetched separately and only when requested.
- Progress is looked up by milestone slug with
getProgress(state, slug).
The Path wire response places attributes at its root. Each SDK moves those values onto the
authenticated user. If any learner-state request, authorization, server, network, decoding, or
response-shape error occurs, the read resolves to this stable logged-out state:
Progress, learner-store, and logout operations are strict and report errors. Applications that
redirect when user is null will therefore also redirect during a Path outage.
Guides
- JavaScript and TypeScript
- PHP
- Craft CMS
- Development and release validation
This release supports Path's current raw ?path-token= login callback. It does not implement the
pending PKCE registration/activity API; that protocol requires a later breaking SDK release.
All versions of path with dependencies
guzzlehttp/guzzle Version ^7.0
guzzlehttp/psr7 Version ^2.5
psr/http-client Version ^1.0
psr/http-message Version ^1.0 || ^2.0