Support the ongoing development of Laravel.io →

10 Threads

Middleware for Ensuring Correct Data Types in API Responses

Hey Laravel Community, I’d like to share a middleware solution I developed to ensure that data types...

mohamedhekal liked this thread

1 Likes
0 Replies

Volt::route() model binding not working for Uuid ?VolVol

Hi there, I am trying to add Policy check to my Volt::route(), however Model Binding seems not to wo...

0 Likes
3 Replies

Route not defined. [solved]

Hello everybody, working on a buiding of a e-com project. I've this snippet on navigation.blade.php...

0 Likes
2 Replies
Solved

Upgrade and Authentication Improvement in Laravel Project

Hello everyone, We've encountered a bit of a situation with our Laravel project that we wanted to di...

0 Likes
0 Replies

403 Error if not logged in but my policy is set to return tr

The policy is working if I am logged in but as soon as I am not logged in then the policy is not eve...

0 Likes
1 Replies

Authetication in magodb using Auth::gaurdman

Auth::guard('staff')->attempt($Auth_data) How to validate the mango db collection fields in the a...

0 Likes
1 Replies

What makes this permissions-checking middleware fail?

I am working on a blogging application in Laravel 8. The application gives the users rights by assig...

0 Likes
2 Replies
Solved

Problem withla running my first laravel file web.php

l am getting this error Fatal error: Uncaught Error: Undefined constant 'Illuminate\Support\Facades\...

0 Likes
1 Replies

JWT Authentication

Hello, I would like to know whether we can use the laravel default auth and JWT auth in the construc...

0 Likes
0 Replies
posted 3 years ago

Middleware, why its work?

I have a problem, I created middlaware admin, where I check whether the user is admin or SuperAdmin...

bigint, onukichi, apenasguil liked this thread

3 Likes
2 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.