Weave Code
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

Discord Php Laravel Package

team-reflex/discord-php

DiscordPHP is a PHP wrapper for Discord’s REST, gateway, and voice APIs. Build Discord bots that run in CLI with ReactPHP-style async handling. Includes limited docs/class reference and community integrations like Laracord for Laravel.

View on GitHub
Deep Wiki
Context7

title: "Invites"

Requires the Intents::GUILD_INVITES intent and manage_channels permission.

Invite Create

Called with an Invite object when a new invite to a channel is created.

$discord->on(Event::INVITE_CREATE, function (Invite $invite, Discord $discord) {
    // ...
});

Invite Delete

Called with an object when an invite is created.

$discord->on(Event::INVITE_DELETE, function (object $invite, Discord $discord) {
    if ($invite instanceof Invite) {
        // $invite was cached
    }
    // If $invite was not in cache:
    else {
        // {
        //     "channel_id": "",
        //     "guild_id": "",
        //     "code": "" // the unique invite code
        // }
    }
});
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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai