Skip to content

Add registerDevCommands helper - #1786

Merged
taylorotwell merged 2 commits into
5.xfrom
dev-commands-helper
Jun 19, 2026
Merged

Add registerDevCommands helper#1786
taylorotwell merged 2 commits into
5.xfrom
dev-commands-helper

Conversation

@joetannenbaum

Copy link
Copy Markdown
Contributor

Adds a convenience method to register the Horizon worker as a dev command for php artisan dev. Guarded behind a class_exists check for backward compatibility with older Laravel versions.

@taylorotwell
taylorotwell merged commit a1f16ca into 5.x Jun 19, 2026
28 of 29 checks passed
@taylorotwell
taylorotwell deleted the dev-commands-helper branch June 19, 2026 13:44
lewislarsen pushed a commit to lewislarsen/horizon that referenced this pull request Jun 21, 2026
* add helper method to register dev commands

* Update Horizon.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
(cherry picked from commit a1f16ca)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants