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

Can't write image data to path (Intervention/image problem)

You may try to use public_path() method to get the path to image.

0 Likes
replied 11 years ago

Foreign keys and mass assignment

You can for example do something like: foreach($data as $key=>$value){ $book->setAttribute...

0 Likes
replied 11 years ago

How to inherit Eloquent's functionality on plain PHP objects

PHP does not allow for multiple intheritance. You could take a look at decorator pattern which is ki...

0 Likes
replied 11 years ago

Use of View::composer

First of all check if your view composer code is being called by dd() before the View::composer. Sec...

0 Likes
replied 11 years ago

Foreign keys and mass assignment

Why could you not assign this key like the way you've shown ? Mass assignment protects from filling...

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.