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

Whop Php Sdk Laravel Package

devmatchable/whop-php-sdk

View on GitHub
Deep Wiki
Context7
0.0.1

Initial release — a framework-agnostic PHP SDK for the Whop API, extracted from the Matchable backend.

Added

  • WhopApiClient facade exposing the full Whop API across 57 resource groups as public readonly properties (PHP namespace Matchable\Whop).
  • PSR-based transport: a PSR-18 client plus PSR-17 factories (auto-discovered via php-http/discovery), with no framework dependency. All HTTP I/O flows through a single HttpTransport chokepoint.
  • Typed response DTOs for companies, checkouts, payments, refunds, voids, account links and webhooks; other endpoints return the decoded response array.
  • A granular exception hierarchy under the WhopException base — WhopApiException (HTTP 4xx/5xx, carries status code and response body), TransportException, SerializationException, MissingArgumentsException, and WebhookVerificationException — so consumers can catch all SDK failures or a specific subtype.
  • WebhookVerifier for Standard Webhooks signature verification, supporting both whsec_ (production) and ws_ (sandbox) secret formats, with raw-input and PSR-7 request overloads.
  • Full quality toolchain: PHPStan at level: max, PHP-CS-Fixer, Infection mutation testing, a comprehensive PHPUnit suite, and a GitHub Actions CI workflow.
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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table