kyzegs / laracord
Discord API wrapper
v1.0.0
2026-06-23 17:46 UTC
Requires
- php: ^8.3
- ext-json: *
- ext-sodium: *
- guzzlehttp/guzzle: ^7.10
- illuminate/cache: ^12.0|^13.0
- illuminate/collections: ^12.0|^13.0
- illuminate/config: ^12.0|^13.0
- illuminate/http: ^12.0|^13.0
- illuminate/notifications: ^12.0|^13.0
- illuminate/support: ^12.0|^13.0
- kyzegs/guzzle-rate-limit-middleware: ^1.1
- laravel/socialite: ^5.23
Requires (Dev)
- driftingly/rector-laravel: ^2.0
- larastan/larastan: ^3.0
- laravel/pint: ^1.24
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^4.4
- pestphp/pest-plugin-laravel: ^4.1
- phpstan/phpdoc-parser: ^1.16
- phpunit/phpunit: ^12.5
- rector/rector: ^2.1
This package is auto-updated.
Last update: 2026-06-24 06:58:08 UTC
README
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.