Support the ongoing development of Laravel.io →
moon0326

moon0326

Joined 8 Feb 2014

Statistics

Threads 3
Replies 124
Solutions 11
Articles 0
posted 10 years ago

How to use multiple DB with the db query builder?

Hi, Is it possible to use db query builder with two databases? I know that I can use a raw query wit...

0 Likes
7 Replies
Solved
posted 11 years ago

How to write index hint with Query Builder?

One interesting question popped up in my head today. I don't actually need it, but I just wonder if...

0 Likes
1 Replies
posted 11 years ago

Just a bunch of Laravel related links

So...I've been bookmarking a lot of Laravel articles for the last few months. I really didn't like t...

0 Likes
2 Replies
replied 11 years ago

Defining models in runtime

I think you're right. It's not possible to do what you want without a dirty hack.. Could you share u...

0 Likes
replied 11 years ago

Correct use of Repository pattern

Um..it depends. Could you post source code how you want to use it when you actually get your API? Yo...

0 Likes
replied 11 years ago

Correct use of Repository pattern

Do you actually have a use case where you need to call updateWith() on a User model? Could you show...

0 Likes
replied 11 years ago

force login except

And here's the code Route::group(['before'=>'auth'], function() { // put your routes here }); R...

0 Likes
Solved
replied 11 years ago

Struggling Where to Put Domain Logic

Yes, I think you're over-thinking it. I feel that many people try to avoid putting methods in their...

0 Likes
Solved

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.

© 2026 Laravel.io - All rights reserved.