May Sale! All accounts are 40% off this week.

kramsuiluj's avatar

Laravel Breeze or Laravel Jetstream or Manual Authentication?

Hi! I've been following the Laravel 6 tutorial series and I've come to the section 8 which is Authentication. There, it uses a package called laravel/ui.

I've scanned through the Authentication page of the laravel documentation and found out that there are starting kits for authentication that are available which is the Laravel Breeze and Laravel Jetstream, also doing manual authentication is an option as well.

But I just feel a bit confused and overwhelmed, I don't know which is the better choice, whether to do it with a starting kit either Laravel Breeze or Laravel Jetstream or do it manually.

I just want to know, why should I use a starter kit? why should I use Laravel Breeze instead of Laravel Jetstream or vice versa? why should I do it manually?

0 likes
5 replies
sr57's avatar

Up to you, it's just because Laravel keeps moving , jetstream & breeze come 'recentlly'.

If you begin, I suggest you Laravel Breeze,

Choose Jetstream if you want more options to auth but that's means and woorking with livewire/blade or inertiavue.js

kramsuiluj's avatar

Ok thanks for the suggestion, I guess I'll start with the simpler one which is the Laravel Breeze, because I guess if I'm gonna start with the manual authentication then I'm gonna need to do some configuration first, whereas with laravel breeze its already configured and ready to use, and the jetstream is a more complex breeze, is that right?

sr57's avatar

Yes, Breeze is enough (for beginning) and very easy to setup.

1 like
neilstee's avatar
neilstee
Best Answer
Level 34

@kramsuiluj this is how I would think of it:

If you want a simple authentication, go with Fortify

If you want a simple authentication with forms, go Breeze

If you want SPAs and Mobile auths, go with Sanctum or Laravel Passport

If you want a FULL auth with some features like 2FA, Teams, etc, go with Jetstream

And lastly, if none of this fits your needs and wants more flexibility in your Auth then you can do it Manually.

I also suggest watching this if you are subscribed (also it has free episodes): https://laracasts.com/series/laravel-authentication-options

4 likes
kramsuiluj's avatar

Oh thanks for breaking it down for me. This gives me better understanding on when and what things to consider.

1 like

Please or to participate in this conversation.