In case anyone else runs into a place where you need to bring table results and get the most recent...
I've got two tables products and artifacts who are in a one-to-many-relationship to each other. Now...
Hi, first question I cant find working answer. Laravel 4.1 ###rules public static $rules = [ 'name'...
Hi, i tried to set table in User model like this 'protected $table = 'users_account'; ' but its...
User id Role id Pemission id read update create delete Position id ###Relationships ####User...
I couldn't find an answer to this so.... Is there anyway to limit Product::with('picture') to only g...
Hi, I wanted to create a method in the User model that behaves differently when called statically or...
Hello! I am new using laravel framework. I want a simple commenting system to my application using l...
I am building an API calling app which needs no database. In trying to register a new class, I updat...
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...
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