I know how I can get the data needed, but want to follow Laravel/MVC practices here and new to it. I...
I'm trying to use pivot table. But I'm confused how should I define my database tables. Concept: Pac...
Hey guys! In my applicatio, every logged in user can open a "feedback-site". That site has...
Has anyone ever run into an issue where you can create records just fine, but the moment you want to...
I'm having difficulty conceptualizing a good way to organize my models, so I'm hoping that maybe som...
I'm just working with laravel, And I use the model to store data,When I register, I encounter the fo...
I am looking for the opposite of getting all Data that is related in a many to many relations, thus...
Laravel 5.4 I am having a hard time using "with" and "where" together. Instead o...
Hello, I am experiencing a strange problem with the built-in User class in Laravel. Its save() funct...
Hello community, I apologize if this is not the place for this, but I wanted to present a package I...
I have a column say placeditems where each time an user places his order a json object is stored.So,...
I have a query whose result is single column and outputs array(1) { [0]=> object(stdClass)#243 (1...
Suppose we have this schema: Set id name Question questionable_type questionable_id...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Slide; use App\Produ...
I have some code that looks like this: class User { public function addRoleById($role_id) {...
I was always against this approach, but now I am reconsidering. Is there a best practice way to do t...
I get some questions from my database: Controller: public function getQuestion() { $questions = Qu...
Hi Folks, From my local migrations folder ([project]-->app->database-->migrations), I manua...
Hey guys, I'm a laravel newbie and want to create an application to get and answer questions. In my...
So this is driving me a bit nuts - Eloquent will not return the full set of data. It's stuck at 426...
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