Support the ongoing development of Laravel.io →
LaurentMeganck

LaurentMeganck

Joined 8 Jun 2016

Statistics

Threads 1
Replies 47
Solutions 3
Articles 0

Spam bots ruining form

Please tell me something is being done about these spam bots. Site is starting to become useless.

0 Likes
3 Replies
replied 9 years ago

Problem to simply get data with 3 tables

For some "magic", call your relation table tag_user. This way Eloquent will find it on its...

0 Likes
replied 9 years ago

Sync or attach by something other than an ID?

$role = App\Role::where('name', 'admin')->first(); $user->roles()->sync($role->id)

0 Likes
replied 9 years ago

Can't access final model (posts) through hasManyThrough method, error "Call to undefined method Illuminate\Database\Query\Builder::posts()"

I believe your relations are wrong for what you are trying to achieve. It should be: Item_model has...

0 Likes
replied 9 years ago

Can't access final model (posts) through hasManyThrough method, error "Call to undefined method Illuminate\Database\Query\Builder::posts()"

Damn it, now you made me curious :p How is the relation between item_model and collected_item define...

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.