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

Framework Laravel Package

laracord/framework

Laracord Framework is the core of Laracord, a Laravel-powered micro-framework for building Discord bots with DiscordPHP. Includes generators for commands/events, slash command sync, interaction routing, async services/tasks, optional HTTP server, and great logging.

View on GitHub
Deep Wiki
Context7
v2.5.2

Change log

Enhancements

  • 🛂 Add the tokenable user to API requests (#130)

New Contributors

Full Changelog: https://github.com/laracord/framework/compare/v2.5.1...v2.5.2

v2.5.1

Change log

Bug fixes

  • 🐛 Remove unnecessary ->done() from command unregistration (#128)

Full Changelog: https://github.com/laracord/framework/compare/v2.5.0...v2.5.1

v2.5.0

Change log

Enhancements

  • ⬆ Bump DiscordPHP to v10.1 (#126)
  • 📌 Pin react/promise to ^3.0 (#127)
  • 👽 Change usage of ExtendedPromiseInterace to PromiseInterface
  • 🥅 Set a global rejection handler logging errors to console
  • ✨ Add support for sending multiple embeds with the message builder (Fixes #125)

New Contributors

Full Changelog: https://github.com/laracord/framework/compare/v2.4.1...v2.5.0

v2.4.1

Change log

Enhancements

  • ⬆ Bump dependencies

Full Changelog: https://github.com/laracord/framework/compare/v2.4.0...v2.4.1

v2.4.0

Change log

Enhancements

  • ✨ Add support for polls (#108)
  • ✨ Add attachment support to the message builder (#122)
  • ✨ Add sticker support to the message builder
  • ✨ Add local storage and URL support to Message::file
  • 🔧 Update the default database config
  • 🧑‍💻 Add file and line number to the console error output
  • ⬆ Bump DiscordPHP to v10.0.0-RC10

Full Changelog: https://github.com/laracord/framework/compare/v2.3.9...v2.4.0

v2.3.9

Change log

Bug fixes

  • 🩹 Fix empty filename on Message::filePath (#118)

Full Changelog: https://github.com/laracord/framework/compare/v2.3.8...v2.3.9

v2.3.8

Change log

Bug fixes

  • 🩹 Fix bad method call exception in the Server class (#115)

Enhancements

  • ⬆ Bump Discord PHP to v10.0.0-RC8 (#117)

Full Changelog: https://github.com/laracord/framework/compare/v2.3.7...v2.3.8

v2.3.7

Change log

Bug fixes

  • 🩹 Fix missing Exception namespace on the ResolvesUser trait (#114)

Full Changelog: https://github.com/laracord/framework/compare/v2.3.6...v2.3.7

v2.3.6

Change log

Bug fixes

Full Changelog: https://github.com/laracord/framework/compare/v2.3.5...v2.3.6

v2.3.5

Change log

Bug fixes

  • 🩹 Fix token authorization (#112)

Full Changelog: https://github.com/laracord/framework/compare/v2.3.4...v2.3.5

v2.3.4

Change log

Bug fixes

  • 🩹 Add missing import (#111)

New Contributors

Full Changelog: https://github.com/laracord/framework/compare/v2.3.3...v2.3.4

v2.3.3

Change log

Enhancements

  • 🧑‍💻 Support over 5 buttons in messages (#110)

Full Changelog: https://github.com/laracord/framework/compare/v2.3.2...v2.3.3

v2.3.2

Change log

Bug fixes

  • 🩹 Fix event stub return type (#109)

Full Changelog: https://github.com/laracord/framework/compare/v2.3.1...v2.3.2

v2.3.1

Change log

Enhancements

  • 🧑‍💻 Pass the resolved target to context menus
  • 🧑‍💻 Improve command generation styling
  • 🎨 Update handler types

Full Changelog: https://github.com/laracord/framework/compare/v2.3.0...v2.3.1

v2.3.0

Change log

Enhancements

  • ✨ Add support for Context Menus (#106)
  • ✨ Add $directMessage property for toggling command usage in direct messages
  • ✨ Add $nsfw property for setting an application command as not safe for work
  • ⚡ Improve application command registration and caching

New Contributors

Full Changelog: https://github.com/laracord/framework/compare/v2.2.9...v2.3.0

v2.2.9

Change log

Enhancements

  • 🧑‍💻 Improve conditional handling of message button & selects (#105)

Full Changelog: https://github.com/laracord/framework/compare/v2.2.8...v2.2.9

v2.2.8

Change log

Bug fixes

🩹 Fix the interaction message user ID checked during Message::editOrReply (#104)

Full Changelog: https://github.com/laracord/framework/compare/v2.2.7...v2.2.8

v2.2.7

Change log

Bug fixes

  • 🩹 Fix CanAsync infinite loop (#103)

New Contributors

Full Changelog: https://github.com/laracord/framework/compare/v2.2.6...v2.2.7

v2.2.6

Change log

Enhancements

  • ✨ Add support for Message::editOrReply() (#102)

Bug fixes

  • 🩹 Fix the PresenceUpdate namespace during stub generation (#101)

Full Changelog: https://github.com/laracord/framework/compare/v2.2.5...v2.2.6

v2.2.5

Change log

Enhancements

  • ✨ Add support for editing existing messages/interactions using Message::edit() (#100)

Bug fixes

  • 🩹 Fix the oldState type when generating a VoiceStateUpdate event stub (#99)
  • 🩹 Properly unset option emoji and descriptions use null

Full Changelog: https://github.com/laracord/framework/compare/v2.2.4...v2.2.5

v2.2.4

Change log

Enhancements

  • 🩹 Fix potential duplicate namespaces when event stub contains optional params (#96)
  • 🧑‍💻 Add conditional methods to Message (#97)
  • 🎨 Make SlashCommand::value() protected

Full Changelog: https://github.com/laracord/framework/compare/v2.2.3...v2.2.4

v2.2.3

Change log

Enhancements

  • ✨ Add native option autocomplete support (#95)
  • 🔥 Remove legacy server property from commands

New Contributors

Full Changelog: https://github.com/laracord/framework/compare/v2.2.2...v2.2.3

v2.2.2

Change log

Enhancements

  • ✨ Add toDiscord() method to Date facade for timestamps (Fixes #93) (#94)

Full Changelog: https://github.com/laracord/framework/compare/v2.2.1...v2.2.2

v2.2.1

Change log

Enhancements

  • ✨ Add Tinker support (Fixes #91) (#92)

Full Changelog: https://github.com/laracord/framework/compare/v2.2.0...v2.2.1

v2.2.0

Change log

Upgrading

  • Laracord's cache folder for cache, sessions, and views has been moved from cache to .laracord. You will need to update your .gitignore accordingly.
  • Laracord will now use the binary path instead of current working directory when initializing as a production phar by default.

Enhancements

  • ✨ Add support for illuminate/cookie in the HTTP server
  • ✨ Add a default middleware to flush unwanted state on each request
  • ✨ Add experimental async macros to common Facade methods
  • ✨ Add a laracord_path() helper to get the path relative to Laracord
  • 🔧 Add middleware for cookies, CSRF, improve session support, and state flushing
  • 🔧 Update config stubs to utilize laracord_path()
  • 🥅 Log errors when booting the HTTP server
  • 🎨 Improve the HTTP Server class

Bug fixes

  • 🩹 Fix improper namespace on the VoiceStateUpdate event

Full Changelog: https://github.com/laracord/framework/compare/v2.1.5...v2.2.0

v2.1.5

Change log

Enhancements

  • ✨ Add native interaction modal support (#88)

Full Changelog: https://github.com/laracord/framework/compare/v2.1.4...v2.1.5

v2.1.4

Change log

Enhancements

  • 🧑‍💻 Add a getUptime() method to the bot instance
  • 🎨 Remove unused Message::getSelects() method
  • 🧑‍💻 Add a Message::clearSelects() method
  • 🎨 Allow passing custom options to Message::select()

Full Changelog: https://github.com/laracord/framework/compare/v2.1.3...v2.1.4

v2.1.3

Change log

Enhancements

  • ✨ Add native Select menu support (Fixes #85) (#86)

Full Changelog: https://github.com/laracord/framework/compare/v2.1.2...v2.1.3

v2.1.2

Change log

Bug fixes

  • 🩹 Add missing session support (#84)

Full Changelog: https://github.com/laracord/framework/compare/v2.1.1...v2.1.2

v2.1.1

Change log

Enhancements

  • ✨ Allow restricting a chat command to a specific guild (Fixes #70)
  • 🔒 Filter guild-specific commands when using !help
  • 🎨 Sort the !help commands by name
  • 🎨 Clean up Str::toString() usage
  • 🎨 Ensure that Message::$color is set as a string
  • ✨ Add a status command to the bot stdin
  • 🎨 Add missing type on the loop property
  • 🧑‍💻 Abstract the logger into a method to make it easier to override
  • 📝 Update the features list

Full Changelog: https://github.com/laracord/framework/compare/v2.1.0...v2.1.1

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport