Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Tls Sig Api V2 Laravel Package

tencent/tls-sig-api-v2

Official PHP SDK for Tencent Cloud's TLS Sig API v2 that generates UserSig authentication signatures for TRTC, IM, and other real-time communication services. It handles HMAC-SHA256 signing, base64 encoding, and expiry so your PHP backend can securely issue time-limited user credentials without expo...

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature enablement: Generates Tencent Cloud UserSig tokens — the server-side credential that authenticates users into TRTC (real-time audio/video) and IM (chat) rooms. Any feature involving live calls, group chat, live streaming, or in-app messaging in a PHP service ultimately depends on this signature step.
  • Build vs. buy: This is a thin wrapper around a documented HMAC-SHA256 scheme (v2 signatures). Its real value is not code volume — it's avoiding spec-reproduction mistakes on sdkappid, expire, and the signing-string ordering. That reframes the build-vs-buy call: the alternative to adopting it is a ~30–50 line internal signer, not a large engineering project.
  • Platform/roadmap gating: If your roadmap includes real-time communication in a PHP/Laravel product, this is the smallest-but-unavoidable dependency between "we chose Tencent TRTC" and "users can actually join a room." Treat it as an integration ticket, not a platform decision.
  • Use cases to scope: telemedicine consults, online tutoring, social/live features, customer-support video, in-app chat. Each needs fresh per-user UserSigs minted server-side at session start.
  • Vendor-lock framing: Adopting this package is a downstream consequence of adopting Tencent Cloud, not a standalone choice. The strategic decision to scrutinize is TRTC/IM vs. Agora/Twilio/LiveKit, not the signer itself.

When to Consider This Package

  • Consider it when:
    • You are already committed to Tencent TRTC or IM and run a PHP backend (Laravel service, API tier, or a signing microservice).
    • You need v2 (HMAC-SHA256) UserSig generation — the current, non-deprecated scheme — and want a known-good reference implementation to align against.
    • You want to ship quickly and accept that the code is small, MIT-licensed, and low-blast-radius.
  • Look elsewhere (or inline it) when:
    • Your stack isn't PHP (Node/Go/Python have official or first-party signers).
    • Maintenance posture matters: last release December 2020, 0 dependents, 34 stars. Treat this as unmaintained but possibly stable — do not expect security patches. For a signing function this is usually tolerable; for anything more, it isn't.
    • Security/compliance review: because the algorithm is public and the package is dormant, the safe PM move is to vendor/fork the signer, audit it, and pin it internally rather than depend on the upstream tag.
    • You aren't on Tencent Cloud at all — the package is meaningless outside that ecosystem.
    • You need higher-level session/auth management — this only signs; it doesn't provision users, rooms, or lifecycle.

How to Pitch It (Stakeholders)

  • For executives: This is a small, free (MIT) helper that lets our PHP backend issue the authentication tokens Tencent's real-time video and chat services require. It's the last mile of any TRTC/IM feature — without it users can't join calls or chat rooms. Cost is zero; risk is contained because the underlying logic is a standard signing routine we can reproduce in-house if needed. The decision that matters is our Tencent Cloud commitment, not this library.
  • For engineering: It's a thin, documented HMAC-SHA256 UserSig generator for TRTC/IM v2 auth, PHP-native, trivially callable from Laravel. Caveats: the repo is dormant since late 2020 with no downstream dependents, so plan to fork/vendor and pin it, wrap it behind our own SigService interface, and unit-test against Tencent's published test vectors. That wrapper keeps us one refactor away from an in-house signer (~30–50 lines) and prevents lock-in to an abandoned tag.
  • For product/design: Unblocks real-time features — consults, tutoring, live, chat — with no user-facing surface of its own; the only product-visible knob is token expiry, which should be short-lived and minted per session to limit replay risk.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log