RegisterViewResponse is not instantiable.
sv3tli0 opened this issue · comments
Fortify Version
1.21.0
Laravel Version
11.0.6
PHP Version
8.3.3
Database Driver & Version
SQLite
Description
After clean installation of laravel + laravel/fortify.
Moving to the Register page gives an error:
Steps To Reproduce
laravel new TestFortify
composer require laravel/fortify
php artisan fortify:install
php artisan migrate
php artisan serve
Go To: /register
That's normal. If you use Fortify without a starter kit like Breeze and Jetstream you're responsible to implement these contracts and views yourself. See https://laravel.com/docs/11.x/fortify#registration and other sections of the docs.
👍🏻
Just would be logical to have some graceful error on what is missing instead of leaving it to the generic Laravel Container errors.
Thanks
I don't think this is necessary as the docs are pretty clear on what you need to do.