Skip to content

feat: add the official Lihi PHP SDK - #1

Merged
terrylinooo merged 1 commit into
mainfrom
develop
Aug 6, 2026
Merged

feat: add the official Lihi PHP SDK #1
terrylinooo merged 1 commit into
mainfrom
develop

Conversation

@terrylinooo

Copy link
Copy Markdown
Contributor

No description provided.

@terrylinooo
terrylinooo force-pushed the develop branch 5 times, most recently from 91ec8fa to 6310fbe Compare August 6, 2026 03:35
A PSR-18 client for the Lihi short URL and SMS APIs, covering the Basic,
Short URL and SMS endpoints behind three interfaces so integrations can be
tested against a substitute.

The API replies in several different error formats; the SDK normalises all
of them into one exception hierarchy, so callers branch on an exception type
rather than on a status code whose meaning varies. Writes are never retried
automatically, because retrying one can send a second message, deduct points
twice or create a duplicate record.

Ships MockHttpClient for testing integrations without a network, client-side
checks for every limit that can be verified before a round trip, and
documentation in ten languages.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@terrylinooo
terrylinooo merged commit 9374f99 into main Aug 6, 2026
9 checks passed
@terrylinooo
terrylinooo deleted the develop branch August 6, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant