Support the ongoing development of Laravel.io →
pmall

pmall

Joined 27 Jun 2014

Statistics

Threads 2
Replies 91
Solutions 17
Articles 0
posted 11 years ago

Testing filters assignment

As mentioned here filters are disabled while testing controllers. So as taylor said, I've made class...

0 Likes
1 Replies

How to sync pivot data via morphedByMany ?

Hello ! i'm trying to sync a polymorphic pivot table from the morphedByMany side of a relationship....

0 Likes
0 Replies
replied 11 years ago

i can't send input to DB

{{ From::model($user, [ 'route' => [ 'users.update', $user->id ], 'method' => 'put' ]) }}

0 Likes
replied 11 years ago

Need a way to route to dynamic list of non-app controlled pages

If you have static pages you can put them in the /public directory, they will be served as normal fi...

0 Likes
Solved
replied 11 years ago

Model with many to many relationships

$query->whereIn('department_tags.tag_type_id', $tag_ids_array);

0 Likes
Solved
replied 11 years ago

Model with many to many relationships

You have to use eloquent join method $departments = Department::select('departments.*') ->join(...

0 Likes
replied 11 years ago

Slug - Generator Help

If yout think about validating the uniqueness of the username / slug combination, you can pass addit...

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.