Hello everyone,
We've encountered a bit of a situation with our Laravel project that we wanted to discuss. We're in the process of moving it from the older version, Laravel 5.4, to the new and improved Laravel 10 neighborhood. Alongside that, we're tackling some authentication challenges, particularly with JWT and role-based authentication.
This isn't just your average upgrade; it's pretty crucial for the longevity and security of our project. So, we're hoping to gather some insights and tips from the Laravel community to help us out.
Here are the specific challenges we're facing:
Compatibility Quandaries:
tymon/jwt-auth
and zizaco/entrust
isn't quite aligning with Laravel 10 and PHP 8.3. We need to figure out how to update everything.Migration Mayhem:
Authentication Adventure:
Requested Solutions:
Migration Magic:
JWT Jive:
Role-Based Authentication Rendezvous:
zizaco/entrust
won't be making the journey to Laravel 10, we're open to suggestions for alternative role-based authentication solutions. Or, if you're feeling adventurous, guidance on rolling out a custom solution would be great.Middleware Musings:
Now, please keep in mind that the old version of the project is functioning perfectly fine, and we have quite a large database, so we can't make any major changes to it.
Has anyone faced similar issues? If so, what was your action plan?
We're open to all suggestions. Thanks! :)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community