Support the ongoing development of Laravel.io →
trbsi

trbsi

Joined 3 May 2017

Statistics

Threads 2
Replies 2
Solutions 0
Articles 0
4 months 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...

Likes Replies

Laravel selectRaw returns NULL

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

Likes Replies
4 months 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
4 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?

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

© 2022 Laravel.io - All rights reserved.