ruddy
Add tenant slug to Sparks return url
Follow this link , it will help you a lot https://silvanhagen.com/writing/free-users-filament-laravel-spark/
11 replies
Login not working for role that only has access to single panel
I have registered this middleware for the admin panel. If you log in as an employee, this middleware will redirect you to the employee login. I have done the same for other panels as well.
9 replies
Login not working for role that only has access to single panel
class AdminCheckPanelRedirect
{
public function handle(Request $request, Closure $next): Response
{
if (auth()->user()?->hasRole('employee')) {
return redirect()->to('/contractor');
}
return $next($request);
}
}
9 replies
Need advice on how to start big project
I've been using Yii2 for a long time, but when I switched to Laravel, I found that the only package you can truly rely on is Blueprint, and its creator is a remarkable figure in the Laravel community. He is also the mastermind behind Shift. The quality and functionality of Blueprint are truly fantastic
14 replies
Need advice on how to start big project
You can have a look of this one https://blueprint.laravelshift.com
14 replies