Is there any way to use the @extend functionality but pass a string rather than a file that contains...
$str = 'Hello :name. Do you like :drink?'; echo str_replace([':name', ':drink'], ['Ricardo', 'Coffee...
The benefit is, you don't have to use the Input facade. Isn't that what you were trying to accompli...
You could also accomplish this all in your MySQL query with group_concat(): SELECT GROUP_CONCAT(main...
The Laravel portal for problem solving, knowledge sharing and community building.