Support the ongoing development of Laravel.io →

trbsi

Joined 3 May 2017

Statistics

Threads 2
Replies 2
Solutions 0
Articles 0
posted 3 years ago

How to set global flag in Laravel

I'm building API with Laravel. I have user and admin role there. User and admin can login normally a...

0 Likes
3 Replies

Laravel selectRaw returns NULL

Here is my simple query Pin::where('updated_at', '>=', '2015-01-01') ->selectRaw(&...

0 Likes
1 Replies
replied 3 years ago

How to set global flag in Laravel

When admin wants to impersonate user X, I just generate JWT token for user X and that's it. I solved...

0 Likes
replied 7 years ago

Laravel selectRaw returns NULL

SOLUTION Instead of selectRaw I should have used select()

0 Likes

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.