Support the ongoing development of Laravel.io →
Laurent Perrier

Laurent Perrier

Joined 6 Mar 2014
Entrepreneur, web developer and Canadian.

Statistics

Threads 1
Replies 18
Solutions 1
Articles 0
posted 11 years ago

View composer not firing on master layout

The view composer doesn't seem to fire on the master layout that all other views extend. The code wo...

0 Likes
8 Replies
replied 11 years ago

How to send relationship data to view? One to many relationships!

It seems like your Category hasMany Product, which means it retuns a collection, not a single produc...

0 Likes
replied 11 years ago

Is it possible to manipulate form data before passing in to database?

You could use a model observer, but in this case I think using a mutator on the model would be the e...

0 Likes
replied 11 years ago

Multiple select in Query builder

You could build up your query dynamically and add conditions as you go through your if statements. $...

0 Likes
replied 11 years ago

Set other fields when user registers

You should definitely research these concepts on your own and what I'm going to describe is probably...

0 Likes
replied 11 years ago

Set other fields when user registers

You are overriding your save method with a create method. Override create instead. Or even better, u...

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.