Support the ongoing development of Laravel.io →

modbase

Joined 31 Jan 2014

Statistics

Threads 3
Replies 2
Solutions 0
Articles 0

Cache Auth::user()

I'd like to cache Auth::user() calls, because I have the username of the logged in user in my top na...

0 Likes
21 Replies

"Prefix" all queries with a where clause

I'm buidling a SaaS and have added a client_id column to each of my tables. Now in my repositories,...

0 Likes
3 Replies
posted 10 years ago

Mail::queue() sync fallback not working

While locally developing, I don't use queues, so I've set the queue driver to sync. I'm creating a b...

0 Likes
3 Replies
replied 10 years ago

"Prefix" all queries with a where clause

Thanks. Didn't think about scopes. That makes it cleaner.

0 Likes
replied 10 years ago

Mail::queue() sync fallback not working

Thank you both. Great tip about passing information to a queue closure. You're absolutely right, but...

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.