Hey there :) Even though I do know that there is quite some overhead using magic functions / eloquen...
I was hoping to get some ideas for posting data to multiple tables in mysql. For example. I want to...
I have a Book table that has a column for stocks count.For example the beginning stocks of a certain...
Hello, I am having problem querying my database. If anyone can help it would be very appreciated. I...
I've used Image/intervention to manage my images. It works great when I'm storing a record, but when...
So here is the scenario You can paginate a set like this ~~ $books = Books::where('price', 1)->pa...
Hi there - anybody know how to fix this? $sales = OrderLine::with(array('Order' => function($que...
I'm developing my first Laravel-based application from scratch, and designing as I go, so the databa...
Hi, I have a many to many relationship set up between a Posts table and a Tags table with a post_tag...
Hi all, I'm looking for some help with this polymorphic conundrum... I have a Journey table: Journey...
Hey everyone, I have a Profile model which has one identity and that identity could be a passport or...
I get this error when I logout (http://example.com/logout). I click on a link which takes me to the...
Hello everyone. I have such models: company, contact and note. Company and contact has a lot of note...
in table 'materials' columns are 'id','unit_id','description','category_id','created_at','updated_at...
Hi! Im looking for the best way to ensure that my objects are being saved properly What im doing $us...
Hello everyone, I am using laravel's eloquent for my website and I want to get all the data from a t...
So, I have this relationship: public function publishedAlbums() { return $this->hasMany('Album')...
Greetings. I am having some confusion about route model binding with/vs repositories. Here's how I...
Is it possible to return a data array in Laravel with ajax? I basically need to pull in some data wi...
Hi, For updating one to many translations inside a post i want to return the updated post. Is it nes...
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