Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom commands not being listed on php artisan #52907

Closed
miguelfmromao opened this issue Sep 24, 2024 · 4 comments
Closed

Custom commands not being listed on php artisan #52907

miguelfmromao opened this issue Sep 24, 2024 · 4 comments

Comments

@miguelfmromao
Copy link

Laravel Version

11.24.0

PHP Version

8.3.11

Database Driver & Version

No response

Description

My custom commands stoped working after the latest Laravel update and are not even being listed in php artisan.

I think the problem might be from the update that changed the ApplicationBuilder.php file on this pull request: #52867

If I restore the ApplicationBuilder.php from before this update, the custom commands work again.

Steps To Reproduce

On version 11.24.0 of Laravel create a custom command and check if it shows up with php artisan.

@elijahcruz12
Copy link

Can confirm, all custom commands in App\Console\Commands are not listed in php artisan and aren't able to be ran.

@rodrigopedra
Copy link
Contributor

Reported at #52902, there is a PR to fix it: #52903

@miguelfmromao
Copy link
Author

Thanks for the info @rodrigopedra! Didn't see that you already reported the issue.

@rodrigopedra
Copy link
Contributor

No problem =)

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

No branches or pull requests

3 participants