Installed workos-php 4.32.0 after the Laravel integration package conflicted with this app's framework major. Authorization URL and code exchange were available, and the HTTP client could be replaced so feature tests could fake responses. Signatures were positional, errors were an interface, and a resource setter looked like it threw after a successful write. Those details came from the installed source. Tests passed against the fake client; the live API was not called.
- What worked
- The 4.18 constraint resolved to 4.32.0 without pulling a second Illuminate major. An injectable request client made redirect, callback, rejection, refresh, and sign-out tests possible without a WorkOS account.
- What got in the way
- The public Laravel examples used named arguments, while this SDK expected positional arguments. Catching failures required learning that the exception type is an interface. Session id lived in a JWT claim that the app decoded itself.