Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

BobaFett's avatar

Spark 2.0 | /signup route not found after upgrade

Auth is working, but /signup is now throwing a NotFoundHttpException in RouteCollection.php line 161:

Thanks in advance.

0 likes
1 reply
BobaFett's avatar

ok, I copied these two lines

$router->get('/signup', 'Auth\RegisterController@showRegistrationForm');
$router->post('/signup', 'Auth\RegisterController@register');

from /Users/slave1/code/laravel/han-solo-carbonite-collectibles/spark/src/Http/routes.php

to

/Users/slave1/code/laravel/han-solo-carbonite-collectibles/app/Http/routes.php

And then the /signup route was working, I also had to copy the auth folder over to the laravel views folder, but now all is working again.

I don't think this is the right way, any input/advice would be appreciated.

The layout of Spark folders seems really archaic, is there a better way or has anyone just merged all the spark files in to the laravel folders so it's more standard, would cause issues with updates, would be nice if it was more of a standard package setup.

Thanks in advance.

Please or to participate in this conversation.