Skip to main content

Laravel events

The package emits event classes from src/Events, so you can use them for logging and debugging. You can achieve similar behavior with hooks, but events can be placed in areas where hooks are not available.
For example, you can dispatch longer-running work to a queue or defer. You cannot receive the Copilot::run() result directly in this case, but you can handle it in a listener for MessageSendAndWait.
For the latest updates, see the GitHub repository.
Last modified on April 19, 2026