Support the ongoing development of Laravel.io →
tlgreg

tlgreg

Joined 27 Dec 2013

Statistics

Threads 0
Replies 14
Solutions 4
Articles 0

tlgreg has not posted any threads yet

replied 11 years ago

Route model with relationship

You could use Route::bind(). Route::bind('id', function($id) { return Post::with('media', 'user'...

0 Likes
Solved
replied 11 years ago

Accessing data from table using relationship

What's the schema and what's the error? From a glance.. Why do you have post_id and comment_id in th...

0 Likes
replied 11 years ago

Auth Basic works local but not in server

Did you cleared the cookies and regenerated the password for the user in db after changed the key? E...

0 Likes
replied 11 years ago

I can not get inputs from a PUT/PATCH request

Laravel cheats because html forms only support GET and POST, but it does understand a real PUT/PATCH...

0 Likes
replied 11 years ago

Set the default carbon date format

setToStringFormat() works here for all model dates, default or custom. Not sure what goes wrong on y...

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.