Support the ongoing development of Laravel.io →

KevinM86

Joined 3 Feb 2014

Statistics

Threads 8
Replies 13
Solutions 3
Articles 0
posted 9 years ago

Wrong query generation

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

0 Likes
0 Replies
posted 9 years ago

Query using with + global scope

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

0 Likes
2 Replies

Blade extend

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

0 Likes
4 Replies
Solved
posted 9 years ago

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. {{ $...

0 Likes
1 Replies

Case sensitivity

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

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

Socket implementation using laravel

Maybe http://nodejs.org/ ?

0 Likes
replied 9 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 9 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.

© 2024 Laravel.io - All rights reserved.