Hello! I'd like to get some informations about Laravel 5.1 command bus. As far as I see in 5.0 there...
Hi! I encountered a really strange problem with my configuration for Beanstalkd and Supervisor. The...
Hi! Recently I was using a bit of repositories and one thing I am really curious about is how to imp...
Hello! For some reason this code causes redirect loop and I have no idea why. I know I could use Ses...
Hello! Does anyone knows if there is a chance to somehow mock call to Cookie::get() method ? I know...
You are doing it wrong. hasMany method is like one-to-many type of relationship so if you use it in...
You may try $student = $this->student ->with('user') ->first(); $student = array_fl...
Why can't you just create a new relationship method in your Person model ? Like : public function pa...
Well, you can use something like this(not sure if it will work on the results of query as I dont kno...
$hidden is something completely different from $fillable and $guarded which are opposites. $fillable...
The Laravel portal for problem solving, knowledge sharing and community building.