Hi laravel community, I am a new laravel user and currently working on a simple project management t...
I want the Eloquent model in app ->Models ->users.php and in every file i h...
// qualification.php model <?php class Qualification extends \Eloquent { protected $fillable...
I am filtering a collection by date of orders with the following in each: {"id":57,"...
What is Single Table Inheritance? I saw a post by Kapil Verma where he shared his STI base class. I...
So I'm building out a multi-relational database structure, and I'm attempting to retrieve nested chi...
Hi, I was wondering what the best way to do this with Eloquent would be? Say for instance I have a &...
hi, I have the following schema: Schema::create( 'teams', function (Blueprint $table) {...
Hi I'm having a struggle trying to return a single record from a many to many relationship. So in my...
I'm having a problem with polymorphic relationship. I have the following classes: BankAccount.php...
Is this right way to do READ UNCOMMITTED? $cars = Cars::raw('SET SESSION TRANSACTION ISOLATION LEVEL...
Hi, Ok,so I am setting up a relationship between my users and roles table, everything went fine unti...
Hey, I'm having an issue I've been trying to figure out for the last few hours, but I can't seem to...
Hello, I have in base field with type datetime, it's time field. I want to get all elements from bas...
Hi Guys, I have a database that predates me and it has no relationships define in the database itsel...
I have a problem with a model, I only have created_at field and I added getDates() method which retu...
Hello, when i need to use joins(), how to use it? Belongs it model or in controller? Can anyone give...
Hi there! I've just done the Blog example from the Laravel 5 Fundamentals (Laracasts) and I'm trying...
Hello, i am new at laravel, and i want to show userprofile by slug. When i use Profile::all() or Pr...
Am trying to use maatwebsite/excel to export data to excel but am unable.It come out as a corrupt fi...
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