Any thoughts on loading a "Type" for this $user->phones->type so the output of User...
Hi all, I have two table, Projects and Projectnotes where Project can have many Project notes. What...
Hello guys, At my routes.php, i have Route::post('-', array('uses' => 'UserController@saveUser'))...
Hi, is there a way to attach an extra field to a pivot table and somehow checking it when grabbing d...
Hi, I'm rather new to Laravel development and need some help regarding a little bit complex model/da...
This is my query: $items = User::join('table_1', 'users.id', '=', 'table_1.user_id') ->join(...
Environment: Feature: id, title, rating, .... Tag: id, tag Pivot id, feature_id, tag_id Given a Feat...
I have the following models and relationships: Projects ==(one to many)== Expeditions Projects ==(on...
Hello everyone, I'm trying to create a custom validation model for XSS attacks SQL injection etc and...
Hi, Is there a proper way to implement DB transaction in a MorphTo model relationship? I am trying t...
Hello, I have 3 different user types for my system (user, business, admin) and i can't use grouping...
I have a collection of x amount of tables that are directly related to my user model. Currently ther...
Hi, i have this models: [Turn] -> ID -> SpecialityID -> SubSpecialityID -> blabla [Spe...
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...
Given this tables, how can I get certain columns? I have tried for two days but I have failed, Someo...
Trying to use out of the box laravel pagination in blade template: {{ $pages->links() }} In cont...
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...
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