Support the ongoing development of Laravel.io →
Ruk33

Ruk33

Joined 9 Feb 2014

Statistics

Threads 3
Replies 35
Solutions 7
Articles 0

Is it valid to use filter to pass variables to layout?

Hi, I have a layout which requires a few variables and several controllers that use this layout. The...

0 Likes
1 Replies
Solved

ioc or parameters?

hi, i would like to ask you how would it be better to resolve dependencies. i'm not really sure to u...

0 Likes
2 Replies
Solved

Injecting queries to models

Hi there, today I was re-doing the structure of my application and I had this problem: 1 table conta...

0 Likes
0 Replies
replied 11 years ago

How could I access to one related User Profile model with Auth::User() method

Use a relationship and then Auth::user()-><relation>

0 Likes
Solved
replied 11 years ago

Trying to get data from a many-to-many relationship

What about something like: public function scopeAmountSum($query) { return $query->select(DB:...

0 Likes
replied 11 years ago

One Mysql Database - Two Laravel Projects with some same tables in it

You're welcome. No I didn't. You shouldn't have any problems with migrations though (at least I can'...

0 Likes
replied 11 years ago

Trying to get data from a many-to-many relationship

Maybe I don't understand the question, but have you tried with pivot?: http://laravel.com/docs/eloqu...

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.