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

njames180's avatar

Register In Spark after setup

Hi (this feels like a noob error but anyway)

I have set up a brand new laravel spark site locally, set up the db, run migrations, run gulp etc

When I go to register a new user I get redirected to the register page with no error but a query string of all fields entered and not user registered.

register?name=test&email=email%40test.com.au&password=test&password_confirmation=test&terms=on

  1. I am not able to register a new user and
  2. Not totally excited about plain text passwords being in the querystring.

Any help or tips to see what I have missed so I can register new users ?

thanks,

0 likes
3 replies
njames180's avatar
njames180
OP
Best Answer
Level 5

I asked a question on the spark github issue list and a couple of others had the issue.

Review the discussion here: https://github.com/laravel/spark/issues/233

tl;dr

  • make sure that nodejs / npm are up to date ( at least 6.5 and 3.10 )
  • run npm install and gulp (if you are upgrading delete the node_modules first)
  • if you are on php 5.6 you need to have always_populate_raw_post_data = -1 in your php.ini use php -i |grep ini to find the right file to change.
ulrichm's avatar

Updated NPM and nodejs and ran gulp: Did not fix it

adding sparkServiceProvider to app.php did :-)

Please or to participate in this conversation.