Support the ongoing development of Laravel.io →
zaalbarxx

zaalbarxx

Joined 23 Mar 2014

Statistics

Threads 5
Replies 58
Solutions 6
Articles 0
posted 10 years ago

Laravel 5.1 command bus has no default mappings

Hello! I'd like to get some informations about Laravel 5.1 command bus. As far as I see in 5.0 there...

0 Likes
0 Replies

Laravel + Beanstalkd + Supervisor

Hi! I encountered a really strange problem with my configuration for Beanstalkd and Supervisor. The...

0 Likes
1 Replies

Relationships in repositories

Hi! Recently I was using a bit of repositories and one thing I am really curious about is how to imp...

0 Likes
0 Replies

Redirect::refresh() and session variable

Hello! For some reason this code causes redirect loop and I have no idea why. I know I could use Ses...

0 Likes
1 Replies

[Unit testing] Mocking call to Cookie::get()

Hello! Does anyone knows if there is a chance to somehow mock call to Cookie::get() method ? I know...

0 Likes
1 Replies
replied 11 years ago

How to inverse query many to many relationships with Eloquent ?

You are doing it wrong. hasMany method is like one-to-many type of relationship so if you use it in...

0 Likes
Solved
replied 11 years ago

Laravel 5 Eloquent leftJoin on belongsTo relation

You may try $student = $this->student ->with('user') ->first(); $student = array_fl...

0 Likes
replied 11 years ago

How to eager load constraint on data from main model in the constraint?

Why can't you just create a new relationship method in your Person model ? Like : public function pa...

0 Likes
replied 11 years ago

How to get data from json without index

Well, you can use something like this(not sure if it will work on the results of query as I dont kno...

0 Likes
replied 11 years ago

Can someone explain me use between fillable guarded and hidden in eloquent?

$hidden is something completely different from $fillable and $guarded which are opposites. $fillable...

1 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.