Support the ongoing development of Laravel.io →
KevinM86

KevinM86

Joined 3 Feb 2014

Statistics

Threads 8
Replies 13
Solutions 3
Articles 0

Wrong query generation

Hello, I have the following code: abstract class I18NEntity extends \Entity { protected $appends =...

Likes Replies

Query using with + global scope

I have the following code: $clients = Clients::with("clientGroups.Profiles")->get(); T...

Likes Replies

Blade extend

Hi, I know it is possible to extend blade like this: Blade::extend(function($view, $compiler) { $pa...

Likes Replies
Solved

Ternary statement (4.1 vs 4.2)

We have updated today from 4.1 to 4.2. But now the following code doesn't give the same result. {{ $...

Likes Replies

Case sensitivity

Can someone confirm that this is intended behaviour? In a model Text I have this relationship: publi...

Likes Replies
7 years ago
0 Likes
7 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
7 years ago

Socket implementation using laravel

Maybe http://nodejs.org/ ?

0 Likes
7 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
7 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?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.