mrgoodbytes8667/discord-bundle
Integrate Discord into your Laravel/PHP application with this bundle: OAuth2 login, bot API access, webhook handling, and channel notifications. Install via Composer, add your bot token and client credentials, then authenticate users or post messages through a simple, framework-friendly API.
This package has been renamed and moved. The maintained package is now mrgoodbytes8667/discord-client-bundle on Packagist and GitHub. Do not start new work against mrgoodbytes8667/discord-bundle; update your composer.json to require the new package name and follow the new repository’s README for installation.
Minimal steps:
composer require mrgoodbytes8667/discord-client-bundlephp artisan vendor:publish --provider="MrGoodBytes8667\DiscordClientBundle\DiscordClientBundleServiceProvider" (verify the provider name in the new README)..env (bot token, guild/channel IDs, webhook URLs as applicable).First use case: inject the client into a console command or service and send a test message to a configured channel. This validates credentials, HTTP connectivity, and rate-limit behaviour before wiring it into application flows.
DiscordService or dedicated action classes so retries, logging, and rate-limit handling live in one place.config/discord.php or environment variables. Avoid hard-coding snowflakes in application code.DiscordService from a custom notification channel.Illuminate\Support\Facades\Http. Assert that jobs dispatch and payloads are shaped correctly without hitting Discord.mrgoodbytes8667/discord-bundle and replace it. Check whether namespaces or config file names changed in the new package; update imports and published config accordingly.Retry-After. Avoid tight loops when sending multiple messages..env and Laravel’s config caching. Remember to re-run php artisan config:clear after changing Discord credentials locally.How can I help you explore Laravel packages today?