PHPackages                             vch-lt/path - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. vch-lt/path

ActiveLibrary

vch-lt/path
===========

PHP SDK and Craft CMS adapter for Path patient tracking software

v0.5.0(today)01↑2900%[1 PRs](https://github.com/learnwithus/path-api-sdk/pulls)ISCTypeScriptPHP ^8.1

Since Jul 28Pushed todayCompare

[ Source](https://github.com/learnwithus/path-api-sdk)[ Packagist](https://packagist.org/packages/vch-lt/path)[ RSS](/packages/vch-lt-path/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (3)Used By (0)

Path SDK
========

[](#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
---------------

[](#shared-contract)

Both languages expose the same primary operations:

- `getLearnerState()` returns `user`, `course`, `milestones`, and `progress` at the state root.
- `checkAuth()` returns the authenticated user or `null`.
- 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:

```
user = null
course = null
milestones = []
progress = []

```

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
------

[](#guides)

- [JavaScript and TypeScript](docs/typescript.md)
- [PHP](docs/php.md)
- [Craft CMS](docs/craft.md)
- [Development and release validation](docs/development.md)

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.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/54921316df91a6797121eb22d0b14e83895882b226b80b28f3cb4af5a2c490ab?d=identicon)[vch](/maintainers/vch)

---

Top Contributors

[![stuible](https://avatars.githubusercontent.com/u/1476537?v=4)](https://github.com/stuible "stuible (93 commits)")

### Embed Badge

![Health badge](/badges/vch-lt-path/health.svg)

```
[![Health](https://phpackages.com/badges/vch-lt-path/health.svg)](https://phpackages.com/packages/vch-lt-path)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k543.5M2.7k](/packages/aws-aws-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k16](/packages/tempest-framework)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

293.1k](/packages/eslazarev-wildberries-sdk)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M754](/packages/sylius-sylius)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k46](/packages/neuron-core-neuron-ai)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
