Support the ongoing development of Laravel.io →
Joe5

Joe5

Joined 26 Oct 2014

Statistics

Threads 7
Replies 18
Solutions 5
Articles 0

Test controller - why eloquent don't strip redundant input in tests (like password_confirmation)

Hey, I am starting with testing and right now I want to test my controller using phpunit. I have suc...

0 Likes
5 Replies

How to allow not $fillable field to be mass-assigned in certain situations?

I have a general User model with general mass-assign white listing of fields as protected $fillable....

0 Likes
5 Replies
Solved
replied 11 years ago

How to validate array input?

In case somebody is interested in what solution I ended up doing I did it like this. public static $...

0 Likes
replied 11 years ago

How to validate array input?

I am not really sure I understand what you mean. Yes the first solution should work but it would be...

0 Likes
replied 11 years ago

How to validate array input?

Could you be more specific please? Like I said, I have looked at the docs but did not found the solu...

0 Likes
replied 11 years ago

Laravel error - Invalid catalog name: No database selected

Now it happened again, unfortunately the problem is not in the environment detection. I've looked at...

0 Likes
replied 11 years ago

Eloquent - relationship pivot table attributes

Found the solution. The problem was that I was trying to access this pivot through order collection....

0 Likes
Solved

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.