Laravel Packages

Create Elegant Discord Bots with Laracord

Published
Create Elegant Discord Bots with Laracord image

Laracord is a micro-framework to build your next Discord bot with Laravel alongside DiscordPHP. With this package, you can create commands (!example), slash commands (/example), events, and more. Your bot can respond to these features using familiar Artisan console tools and everything we love about Laravel.

The main features this package provides out of the box give you everything you need to be productive quickly:

  • ⚡️ Out of the box support for databases, caching, and many other Laravel features thanks to Laravel Zero.
  • 🚀 Instantly generate working bot commands and event listeners with zero knowledge.
  • 🧑‍💻 Automatic handling of registering/updating/unregistering application slash commands.
  • 👷 Generate asynchronous services/tasks that run parallel to the bot.
  • 🌎 Optional HTTP Server with native Laravel routing and Livewire support.
  • 🔧 Fully configurable and extendable.
  • 💄 Beautiful console logging with timestamps.
  • 🔍️ Fully documented and maintained.

Another neat feature is an optional HTTP server (reactphp/HTTP) with Laravel routing support to create webhooks or an API to interact with your bot. For example, your bot could accept an incoming GitHub webhook that you could then handle with your bot.

Laracord console logging
Laracord console logging

To get started with this package, check out the documentation at laracord.com. The source code is available on GitHub at laracord/laracord.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

laravelcloud logo
Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Visit Laravel Cloud

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article