-
Notifications
You must be signed in to change notification settings - Fork 11k
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
Exception when try to create a Controller without the base abstract Controller #50494
Comments
I created a fresh Laravel 11 and the same error happened. I was only able to create a new controller without the base abstract Controller when I ran: composer dump-autoload I think this is happening because Laravel 11 uses
|
I was able to reproduce this. We should indeed do the |
Thanks for the PR. I forgot to do that yesterday! 😅 |
Laravel Version
11.0.3
PHP Version
8.2.16
Database Driver & Version
SQLite
Description
Starting from the Laravel 11 we can delete the base abstract Controller and remove all extends, the application will continue work without any error, but when we do that we have an error when we try to create a new controller by using the Artisan.
The question is: the base abstract Controller is mandatory or not? If the answer to this question is not, then this exception is wrong.
Steps To Reproduce
The text was updated successfully, but these errors were encountered: