Hello, I have the following code: abstract class I18NEntity extends \Entity { protected $appends =...
I have the following code: $clients = Clients::with("clientGroups.Profiles")->get(); T...
Hi, I know it is possible to extend blade like this: Blade::extend(function($view, $compiler) { $pa...
We have updated today from 4.1 to 4.2. But now the following code doesn't give the same result. {{ $...
Can someone confirm that this is intended behaviour? In a model Text I have this relationship: publi...
You have to create a middleware for that: <?php namespace App\Http\Middleware; use Closure; cla...
You have to do i like this: $doc = Doctor::find(1); dd($doc->lessons()->get());
Both. With migrations you create the database tables (with the necessary foreigns keys). In the mode...
The Laravel portal for problem solving, knowledge sharing and community building.
The community