I have incoming data from other trusted 3rd party. Is there any proper way i can handle CSRF? |-----...
Hi guys, I created a commenting system for a blog. Comments belongTo a Post, and they BelongTo a use...
I need to use a relationship multiple times in the same method. I've broken it into multiple queries...
Trying to use out of the box laravel pagination in blade template: {{ $pages->links() }} In cont...
Hi, I have posts and comments tables. Post and Comment have one-to-many relationship. I have written...
I need to set the session wait_timeout on my MySQL connections, and I'd like to do it lazily (i.e on...
I have an application where multiple accounts use the same database. To specify what row belongs to...
Hi, I am trying to set up the migrations for my table and I can't seem to use $table->tinytext('c...
I want to use multiple models for the same table but each model should return only rows where "...
Hi, I'm trying to transition over to laravel and i have included in the start/global.php file a link...
Hi guys, Let me begin by explaining what I'm trying to do, so that you can get a better understandin...
Hello, Not sure how to phrase this question... hopefully it makes sense. I have a class called "...
I have a news feed that currently is displaying with a structure of what seems to be similar to face...
I'm trying to eager load a list of credits for a recording. The query I want to run is this: SELECT...
Hi everyone, I am currently building a small app that manages school related stuff. I have to build...
I have 2 tables which are related with a Many to Many relation and the relation table. (users, items...
I'm having problems where I want empty strings or a zero to be stored as a NULL in the database. Her...
$image = $input['image']; $filename = $image->getClientOriginalName(); $destination = 'upload...
Hi, Is there an elegant method for counting sessions that are for successfully authenticated users?...
Hello, I have 2 models. One is "developer" and the second is "program". One deve...
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