Support the ongoing development of Laravel.io →
KevinM86

KevinM86

Joined 3 Feb 2014

Statistics

Threads 8
Replies 13
Solutions 3
Articles 0

Eloquent relationships remember()

Is it possible to cache relationships with the remember function? $screen->Texts()->with('Tex...

0 Likes
2 Replies
posted 11 years ago

namespaces

Is it possible to reference a full namespace? I mean using: use MyApp\Models; (this is not working...

0 Likes
3 Replies

Chaining first()

I just started using laravel, and I am trying some code. $candidate1 = ot_Candidate::where('id', '='...

0 Likes
1 Replies
replied 10 years ago
0 Likes
replied 10 years ago

Laravel 5 Localization Problem

You have to create a middleware for that: <?php namespace App\Http\Middleware; use Closure; cla...

0 Likes
Solved
replied 10 years ago

Socket implementation using laravel

Maybe http://nodejs.org/ ?

0 Likes
replied 10 years ago

Problem with relations in Eloquent in Laravel 5.0

You have to do i like this: $doc = Doctor::find(1); dd($doc->lessons()->get());

0 Likes
Solved
replied 10 years ago

New to Laravel - Correct way of working

Both. With migrations you create the database tables (with the necessary foreigns keys). In the mode...

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.