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

where docs on File helper like `File::exists($myfile)`

@yuomtheara // I totally agree that it's hard (is it?) to find, but it is actually documented. If yo...

0 Likes
Solved
replied 11 years ago

Attach several classes to one Interface in the IoC

@AnthonyVipond // Totally agree on your point. I didn't even think of using a filter though. I will...

0 Likes
replied 11 years ago

Public properties in Eloquent class

@hailwood // That's really great! Thank you for the information.

0 Likes
replied 11 years ago

Public properties in Eloquent class

Exposing public properties of your model is not a good idea and should be avoided at all cost. Using...

0 Likes
replied 11 years ago

Attach several classes to one Interface in the IoC

@AnthonyVipond // Ah, you're right. I only tested it in my routes, but it gives you an idea anyway l...

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.

© 2026 Laravel.io - All rights reserved.