While updating an entity model needs to update a hasMany attribute with multiple items. $user->la...
Hey folks, I started a Stack Overflow question about this but I thought I'd see if anyone here might...
I'm using polymorphic relationships. I've just realized they wasn't working due to fully qualified n...
Hi guys, on one of my site that i've builded with laravel 4.1, i've something strange with select da...
The following is just an example:Take the following two models with their relationships User =>...
Hi, I need to use pivot tables id as a foreign key in another table. for example i have following ta...
I am building a site which allows fitness instructors to publish a timetable of classes they teach....
table name ( class name of model ) user ( UserModel ) id, name product ( ProductModel ) id, name, us...
Hello everyone, I have a loaded collection, Conversations, for wich I do some sanitizing like this:...
My Index page uses 3 tables in the database: index_slider index_feature footer_boxes I use one con...
If there is a query error while using Eloquent, how do you trap it and redirect the user to a friend...
user table id name username email password role id name role_detail role_id -> primary of ro...
im currently building this database designer inspired by laravelsd that works offline, i will releas...
Hello, I have this similar code in my 3 controllers, How can i make this code more beautiful?? Thank...
hi, friends sorry for my newbie question. Maybe it is very simply ... I have db-table "users&qu...
Hi, i am new to php and laravel, but I really love the laravel framework. Maybe my problem is really...
I’ve Model named “Payment”, and want to update 2 field (shipmentStatus and signedBy) $payment->sh...
I add jenssegers Laravel-MongoDB package into my Laravel 4.2 project, and have a one problem. Maybe...
query (works true): SELECT User.full_name as user_full_name,Setter.full_name as setter_full_name,st...
Okay so I'm creating a task manager for my company. A user can assign assign a task to multiple othe...
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