Category "laravel-middleware"

Closure not setting variables as expected

For some reason, $uuid & $tags are not being set correctly. public function handle(Request $request, Closure $next) { $uuid = null; $tag

How to check user Permissions using Custom Middleware in Laravel

I'm developing a Laravel ACL System. My base Table's are users,roles,permissions and pivot tables are role_user,role_permission,user_permission. I want to che

How to access Sanctum package in custom laravel package

i want to access laravel sanctum auth which is working fine in project routes I'm making a custom package of api's which needs to use same sanctum authenticatio