discord/interactions
PHP types and helpers for building Discord Interactions webhooks. Includes enums for interaction/response types and response flags, plus Ed25519 request signature verification via simplito/elliptic-php (requires php-gmp).
Request object and adaptation to HTTP stack. Best for simple webhook handlers with minimal abstraction needs.php-gmp and simplito/elliptic-php dependencies. No Laravel-specific tooling (e.g., route macros, config files), so developers must manually handle request parsing and validation logic.simplito/elliptic-php (last updated 2020)?TrimStrings) interfere with raw payload integrity?TrimStrings, ConvertEmptyStringsToNull). Use Request::getContent() in early middleware to preserve raw payload.StartSession), extract raw payload via Request::getContent(), and validate before any business logic.simplito/elliptic-php + enable gmp extension.Interaction::verifyKey().Interaction::fromPayload() for type-safe handling.gmp extension is missing or payload is altered.simplito/elliptic-php or gmp is misconfigured.How can I help you explore Laravel packages today?