Hi, I've added a custom classes to ...app/classes/... using a tutorial I've read and so far so good...
I have the following relationships setup... Viewing -> viewable() = morphTo Rental -> viewing(...
I'm working on my first project done in Laravel and almost everything so far has been smooth sailing...
hello, i am trying to run an eloquent query with the PHP DateDiff() function... This works $sql = &q...
Hello, I have this model : <?php class Category extends Eloquent { protected $fillable = a...
I have a table called attachments which has the fields ID TABLE_NAME TABLE_ID and ATTACHMENT Another...
I have written a PostGres function that uses a CTE to return me a result set. The result set contain...
I have a service provider: <?php namespace App\Providers; use Illuminate\Support\ServiceProvider...
here is my OperatingProcedure model class OperatingProcedure extends BaseModel { use \Venturecra...
Hi I've been using larval for a while now but I really want to make sure I'm doing this correctly an...
Hi everyone, i'm new to Laravel and trying to get confortable with Eloquent. In the last days i stru...
Hey, I have this schema: table_1: id table_2: id table_3: id, table_2_id, table_1_id I need this sc...
Hi, I'm using a form send by GET method. This form contains some multiple checkbox. {{ Form::open(['...
https://github.com/etrepat/baum#usage Let's ssay people start to make use of this nested set. How do...
Hi everyone, I have a question about eloquent mass assignment. Is that my all foreign keys must defi...
Hi guys, I'm retrieving Events from the database and every time I get events from the database I wan...
Hello, I want to permanently replace a column in a select query of a model. So basically if I run Mo...
Let's assume we have these variables: $query = Study::join('patient', 'study.patient_fk', '=', 'pati...
Every night I hit my provider for an array of calls that are around 1-2k rows per night. I need to s...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community