I have posted in stackoverflow a question, however I did not get any answer. http://stackoverflow.co...
I am new with Laravel, I was able to query Many-to-Many relationships. Where 'template_dynamic' is t...
Hi friends, I try to make a modular Laravel application. I use "https://github.com/bstrahija/la...
Illuminate \ Database \ QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'suppl...
Hi, Is there any ability to perform a custom query on my model's initialisation? The reason is, i wa...
How can I do the following using eloquent? INSERT INTO table (column) VALUES (select max(id) from ta...
Hi, I have an array with objects called $buildings It has 5 buildings, each with a relation to a &q...
I have a typical event hook for soft deleting children: public static function boot() { parent::boo...
#Dear people and cats. Do anyone have a smart idea of how to design a user table with different user...
Hi, I have these three models: Building (table: buildings) Object (table: objects) BuildingType (tab...
quyle92 liked this thread
Hey guys, Something very weird has happened in an application that I am building today. All of a sud...
Hi, I have 3 controllers that basically List/Create/Edit/Remove things in database (Products, Carts,...
I will try to briefly explain this problem I'm having. I have a database field called "price&qu...
I am posting arrays of related field ids using the product id as the key, to my controller: $input...
Hi guys, This question might be more of a generic database design question, but I'm using it for a L...
Hi every body. I have a directory under my app folder named observers and I listen for various event...
I'm getting super confused with this small part time project I am working on. I have a Movie model,...
Hello, guys! Help me please, sorry for my english :) I have bug with paginate, example: $products =...
Eloquent will also assume that each table has a primary key column named id. So I change it like thi...
$mobiles=Mobile::select('id','name','blurb','priority') ->where('name','LIKE','%...
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