This New Auth Package Makes Things Even Easier
HTML-код
- Опубликовано: 2 окт 2024
- Laravel makes scaffolding out authentication incredibly easy with starter kits like Breeze or Jetstream. That doesn't even include the incredible third-party offerings like Genesis or Filament.
But what happens when you need to actually customize those pages? It takes a bit of work to make them cohesive. Or if you want to add social auth? Time to dust off your design skills.
Or you can use this new package by the DevDojo folks.
Auth by DevDojo: devdojo.com/auth/
Keep creating.
---
📹 *Watch My VSCode Setup Video:* • My Minimal and Beautif...
🎓 *Make VSCode Awesome - Caleb Porzio's Course (support me with this link):* gumroad.com/a/...
In js ecosystem this is going to be paid 😂😂
true. glad i choose laravel over next/react
And every month you're gonna need to update the package again jajajaja
Ooops. 🙈
Nah. The js ecosystem is too busy coming out with new frameworks, third party packages and new runtimes every week.
@@jmon24ify Js is a cult at this point tbh.
The way you explain things makes everything seem easy. Your voice conveys that everything in Laravel is very simple.❤
Thank you so much Hassan. ☺️
command + L is a good keyboard shortcut for managing the url
Good to know. I always forget about that. 😂
This looks awesome!
My man!
It’s one of those things you didn’t realize how much it helps until you use it. (And get to keep the auth of Laravel so no third party. 😁)
Email verification redirects to Breeze default view instead of its own. Any fix?
Make a video on laravel reverb with blade make simple project .. This is very helpful to me ..love from Pakistan..
I'll add it to the list here: cir.re/suggest
The calmness in which you explain makes everything seem so easy. The Bob Ross of Laravel 😆 +1 subscriber
Wow that makes me so incredibly happy. Thank you for the kind words. ☺️
how do you extend the registration form, i want to add subdomain input?
Hi, recently saw your videos and pretty impressed with your video presentation? If possible, can you share your studio tour so it would be nice to see what equipment you have used to bring such cool topics..A request from India.
Thank you! I can do that. I’ll add it to the suggestions!
cir.re/suggest
Amazing. I am wondering if there's any option to change /auth/setup path for configurations ? because if this is strict and can't be changed then any user on the web can play around with it. Your thoughts Josh Sir ?
Actually, there is a middleware for the auth/setup route that does not allow production access, so if your ENV is set to production, this is disallowed. :)
This is epic, question. How do I extend registration from? I would like to split name into first and last name, add cell dob etc..
I'm not 100% sure, but I believe that would have to be done manually. Might be a good PR though. :)
I was looking for exactly this for quite some time. Looks amazing. Will this also work with spa frontends / mobile apps ?
It's it's own separate login page, and while the package uses Livewire, you can have it be disassociated from your app so it doesn't matter for most applications. Mobile apps / certain SPAs might not be the best use case. :)
Hi, Josh have looked around for a laravel 11 + inertia + svelte, but could not find any, could do a video that, am in "Love" with a girl I can't get (L11 + svelte)
I'll add it to the list! Be sure to upvote:
cir.re/suggest
Thank you. Just subscribe
Thanks for the subscribe! :)
does this package compatible with filament?
It is!
More power and Love to Laravel❤
It’s the best. 🥹
Awesome, can it work with inertia with vue?
It can! While it's built using the TALL Stack, it can replace your Vue/Inertia login pages. ☺️
I absolutely love the style in your videos, it's just so cool!
Thank you. I really appreciate that. ☺️
I personally don't like how you configure this instead of doing it in code. Gives me wordpress vibes.
You can definitely do it in code too. It's all just customizing the config files in the end.
I can't speak for the creator, but I would imagine this would be a great option for non-devs who you want to give access to modifying how it looks in production. Or clients.
@@joshcirre Yeah I guess it would be a cool feature for a company where they can style their internal app login screen which all employees will use and do custom themes during christmas etc.
how to build for separately for admin ,user and vendor guards with own prefix?
Might be a good video!
Its so freakin awesome
It really is! Now I don't have to spend hours trying to nail the design for these pages. 😂
What keybord are you using Josh?
What do you mean keyword? Like for the video itself?
@@joshcirre I think they meant keyboard. It sounded real good when you were typing.
Ahh. Got it! This is an artificial keyboard sound using an app called Klack. ☺️
@@joshcirre Ty!
Js world has amazing libraries like Framer Motion. What can we use for manage animations in Livewire? Can you do a video about it? 😊
Sure! Why don't you add it to the suggestions here:
cir.re/suggest
I will say that there really isn't an alternative to stuff like that so it's a perfect usecase for JavaScript. :) There is a light weight alternative to animation that works with plain JavaScript here:
auto-animate.formkit.com/
Hey Josh, does this work with Laravel Jetstream plus Inertia + Vue Js stack? 🙂
Yep! Looks like it. While it uses Livewire under the hood, you still have the option of using it in any stack since it just sets up those extra routes for you.
I've been looking for a custom login to my filament, and this video magically caught my attention. great review!
Glad it could pop up just at the right time! :)
this looks wow .. 👏👏
Right? 👀
@@joshcirre yes .. I have practiced this 🤦♂
now My Register page is in devdojo .. and login is in Jetstream 😁🤣
nice view as always
i used to hate php for the dollar in every variable as well as the use of dot instead of plus for concat
but laravel makes php harder to hate xD
The arrow (->) instead of dot syntax was the hardest for me to remember. 😂
When there was a need you didn’t think you had, but the package potentially changed your mind 😂😂😂
Right! Now I can just ignore making those pages fancy and just use this. 😂
awesome you save lots of my time😊, definitely gonna subscribe you.
Well thank you! I’m just sharing what I found though, @devdojo is the true hero!
Might be a dumb question but how do you guard against auth/setup being accessible in production? Is it as simple as commenting out the route in like a CI flow?
Looks like this is already setup for you in this package. It has a ViewAuthSetup middleware that comes with it that you can setup allowed users in the gate:
devdojo.com/auth/docs/setup-customizations/
Unreal! Thanks
subscribed. Love your content and your code editor. It’s so clean
Thank you! I appreciate the support. ☺️
Please make a video about a multi auth system. Separate login page and dashboard for normal user and admin. Thanks!
That would probably be a good addition for my Filament video coming out. :)
@@joshcirre looking forward to it. And also pls explain pros and cons if there are any cons. I tried it with breeze but its not perfect, redirect routing i think is messing up. But thanks for the reply!
Does it have support for Inertia starter kits in Jetstream/Breeze?
Looks like it does. :) It's just replacing those views with the ones built by the Auth package.
amazing!!!
Work with Inertiajs Vue?
Yep!
not very well though
Does it support a modal view?
Not out of the box it doesn't look like. Wouldn't be too difficult to implement I don't think though, so might be a great PR!
I just created a new project so i tried this package but it's too slow
Are you on Windows? I'm having the same issue. When I test it in Herd, it runs fine. I'm still trying to figure out how to pinpoint the problem.
Interesting! I haven’t had any slow issues just yet. I’ll be curious to see if others do.
This is really great
It really is!
Cool library, I will try that
Please do! It's really sweet.
This is awesome! I'm in!
Yes! Let's go! 🙌
Wow ::)
Right? 😍
Hey man, was wondering if you could help me I'm developing an API with laravel where there's a company and user model, I implemented a simple authentication system for the both of them, but the thing is when a company signs in I have no idea how I can get their details like the way we could for users with something like auth()->user->name. How could I do something similar for the company model. Thanks
Do u mean that both User and Company models can be used for auth? If that is the case, you have to use a diffrent guard for Company auth. if u Create a new guard named 'company', you can access company model as auth('company')->user = Company model
Am I free to use Bootstrap or I have to work a lot to remove all this tailwind crap?
Well, you can use Bootstrap in the rest of your application. This package uses Tailwind but you don't have to use it in the rest of your application.
@@joshcirre so I will continue use Laravel/UI
Holy crap! this is amazing!
Right?! 👀