Support the ongoing development of Laravel.io →

ftiersch

Joined 31 Jul 2015

Statistics

Threads 2
Replies 110
Solutions 17
Articles 0
posted 9 years ago

Cancel Eloquent updating Event in trait

Hi guys, I'm working on one of my sites which should be able to basically have a "multisite&quo...

0 Likes
0 Replies

Events on Pivot table

Hi there, I've got two tables linked by a Many-to-Many relationship. users id users_items user_id...

0 Likes
1 Replies
replied 8 years ago

How can i create route with 2 middleware inside thanks !

Simply pass an array to the middleware method: Route::get('...', function() { return '...'; })-&...

0 Likes
replied 8 years ago

Second parameter missing for update method.

hey, you don't have a route parameter declared: Route::patch('addressbook/edit/{id}', [ 'as' =&g...

0 Likes
replied 8 years ago

one to many relationship returning empty

Hey, to get the values of a relationship (so the related models) you use the relationship-method as...

0 Likes
replied 8 years ago

SQL where parameters

Hey, that's actually absolutely correct. That's a feature called "Prepared Statements". Ba...

0 Likes
replied 8 years ago

Eloquent query where() confusion

You just have to put the loop inside the closure (the function with the $subQuery). And since inside...

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.

© 2024 Laravel.io - All rights reserved.