I am using Laravel framework of PHP for development.Now for my application, i want to stor...
Hi, I have been struggled with this couple of days and i just can't get my head around with this. I'...
Hello! Sorry for my bad english I have migration: DB::table('settings')->insert([ [ 'name' =>...
Hi, i'm trying to create a search functionality that uses 3 tables, and it uses combined values from...
i have the following tables users devices sensors measurements with the following relationships user...
Is there a 'Laravel way' of writing something like this? $products = Product::select(DB::raw( 'mw_pr...
Hi guys, I'm new to Laravel and enjoy to play with it. But I stuck almost 2 hours on using query bui...
i have some little complex sql query ,i want run in laravel ,i do like that \DB::connection('models'...
Perhaps this should go into github, but I will let it know here first to hear your opinion. Given th...
Hi, I am trying to implement some basic database caching but I am running into some difficulties. I...
I'm creating a subnavigation with childs in childs. And i would like to know how i can optimalise th...
What am I doing wrong ? please advice ? Controller public function getHotelgallery($hotel) {...
Hi there, I have a view that shows a list of "things". Each "thing" has a checkb...
I've got three tables, dates, and composite dates (and a pivot table). A date can be in many composi...
I'm building a threaded forum using closure tables. I have two tables, Paths and Comments, set up li...
I have a form that allows a user to submit a small image and a large image. The edit form is where I...
Say I have a custom class, where I want to create the connection and specify the table once my class...
Consider the following setup (and let's not discuss wether it makes sense as it's only an example)....
Hi, maybe i'm missing something, but i'm having a hard time figuring out how to save/update models w...
Did anyone manage to get it working ? to use laravels Validation to check i "username" con...
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