Hello. I have One To Many relation ( One user with many pages ) i'm inserting user pages like this:...
Hi, I currently creating this somewhat complicated abstraction layer. is it possible to cancel or ro...
I have assigned multiple roles for a user and I ll need to function to get all the roles based on t...
Hi, I have, say, a Post object that belongsTo a User object. The User object hasMany Post objects. I...
I have a checklists table and an items table. The relationship between both is hasMany. A checklist...
I´m having no access to run composer on my clients server - so what to do when I change my controlle...
Hi, I would like to customize the JSON which is returned by the index and show functions of the cont...
So, I had a pretty common need to generate a query against a table based on multiple column values....
I want to use Eloquent outside of Laravel, but I need to be compatible with PHP 5.2. Which version s...
Coming over from Kohana to try out Laravel. I'm using the Homestead vagrant box. Following the Quick...
for example: $input = ['username'=>'abcd123']; $user = \User::create($input); $user attributes:...
I try run this code: $rows = DB::table(CustomerNumber::TABLE) ->join(NumberGroup::TABLE, functio...
Hi, When i use Has() to have only result where the other table is not empty, that don't work. I have...
Is there a clever way of composing an eloquent search where it only applies values sent thought and...
I have the query like this $article = new Article(); $query = $article->with('user')...
Hello every one. I am trying to make a function in my controller public function new(){ return View:...
Hello, I created a search functionality within my Laravel project - the user can search for teamname...
Hi, I've got an application that keeps track of people visiting a festival. On one page we would lik...
I'm getting started with Laravel, and learning as I go. I'd like to know the best way to tackle this...
Hello everyone, i have a new project where i developed a different way to manage sessions. So i crea...
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