Skip to content

Repository files navigation

Laracord banner

Laracord

Laravel-native Discord HTTP platform client for PHP 8.2+ and Laravel 12–13.

use Kyzegs\Laracord\Facades\Laracord;

$message = Laracord::bot()->messages()->create(
    ['channel_id' => '123456789012345678'],
    ['content' => 'Hello from Laracord'],
);

echo $message->json('id');

Laracord provides bot and OAuth bearer contexts, Discord-aware cross-process rate limiting, every catalogued HTTP route, multipart uploads, Socialite, webhook notifications, and signed interaction/webhook-event helpers.

composer require kyzegs/laracord:^1.0@rc
php artisan vendor:publish --tag=laracord-config

See docs/docs/getting-started.md and docs/docs/usage/migration-v1.md.

Gateway, voice transport, RPC, Embedded App SDK, and Social SDK clients are intentionally outside scope.

MIT licensed.

About

Laravel-native Discord HTTP client with bot/OAuth contexts, rate limiting handling, webhooks and interaction helpers

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages