Myself and a co-worker have been trying to find the source of the magic behind the ValidatesWhenReso...
I have a route group that has a parameter prefix like so: Route::group(array('prefix' => '{countr...
I have a Product model, an Option model, and a ProductOptionPivot model. A collection of Option mode...
Solved it - had to do ->withPivot('id') on the Product->belongsToMany('Option') relationship s...
product_option_country is a second pivot table, between the ProductOptionPivot model and the Country...
The following code (including authentication before the route) $options = Product::find(18)->opti...
This is great, but how would this then work with multiple pivot tables? Surely this solution would m...
The Laravel portal for problem solving, knowledge sharing and community building.
The community