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

ismaelyws's avatar

Add Jetstream to Vapor Environment

Ok, so bear with me, I'm a newb. I just setup a new environment with Vapor.

I want to add Jetstream, how should I be doing this? Should I create a local dev environment?

If someone can just point me in the right direction that will be helpful.

0 likes
8 replies
ismaelyws's avatar

@jlrdw ok, so if I understand correctly I need to delete the environment I created and create a new one but with JetStream included? I don't think I saw an option for that when creating an environment, did I miss something?

jlrdw's avatar

@ismaelyws normally this is done in development. But why vapor commands, just follow the documentation I linked above.

ismaelyws's avatar

Really @jlrdw this is a little ridiculous.

If you read my original question carefully you'll see I asked "I want to add Jetstream, how should I be doing this? Should I create a local dev environment?".

Each of your answers have been short and lite on details. I'm not a mind reader and I'm a newb.

I've read the Jetstream documentation but those instructions only apply if I'm running a local dev environment. I setup the vapor project and environment via the web interface. Not my local machine.

jlrdw's avatar

@ismaelyws I suggest you develop your application first, jet stream doesn't just Supply complete automatic Authentication, you need to go in and apply authentication and authorization to your application.

Or are you planning on developing your application on a live site. Sorry if I'm a little confused here on exactly what it is you are trying to do.

I also suggest you watch the laravel from scratch series from here (free), and perhaps the series on vapor.

ismaelyws's avatar

@jlrdw yah my bad man. I'm the one who's confused. After reading your last response I realized I'm doing this backwards.

Please or to participate in this conversation.