Hi! I'm new to Laravel, and I have a problem with caching rows using Eloquent. I'm currently retriev...
I also posted my question on laracast, but perhaps anyone here has the answer. Topic on laracast I'm...
Hi, I have a Shops model associated to services, using a pivot table: public function services() {...
i have Many To Many Polymorphic Relations. post morphedByMany(postA) post morphedByMany(postB) post...
Hi guys. for making a list of categories and subcategories in 3 levels I used foreach and if loops a...
Hi, I would like to generate a unique code whenever a new object of a model is created. Therefore, I...
Hi, I have a Controller that needs to process a form and then do some database checks that involve l...
I am looking for the equivalent in Eloquent/ Laravel to the SQL statement SELECT label_id, COUNT(*)...
Hello, I made a website that allow users to post pictures. Each user's page propore pulique his phot...
I have the following model. class Property extends Model { public function bedroom() {...
Hello, I'm having an issue with eloquent (outside of laravel) I can't get access to my data in the p...
Quiero relacionar platos de comida con cierta cantidad de alimentos Tabla Recetas { id titulo descr...
is there a way to do this with Eloquent without having to run Raw queries etc? (select count(`win`)...
In Laravel, I have a tiny yet annoying problem changing many files when I decide to change a databas...
Scenario is: Model 1 = Room Model 2 = Hotel Model 3 = City Rooms belongs to Hotel, Hotel has many Ro...
Hello, I've made the following Realations: Controller public function Editionen() { $editionbloc...
I bought an application script from themeforest. I want to do some modification on it. Application J...
I would like to have something that - in an object-oriented language - would be called inheritance....
Hi, I'm not sure what happened but I did a "php artisan migrate:status" from my vm and it...
Hello there, How can filtering data of nested and many relations tables on this example Models Categ...
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