hi how do you usually querying using eloquent from database based on the value, for example you will...
Hi, I have this route: Route::get('/develop/building/{building_id}', ['as' => 'develop.building',...
Hello, I'm using Baum nested sets to create parent - child categories and relate my categories with...
I have a problem that the docs don't seem to cover (or I'm just not seeing anything in the docs that...
Im having a bit of trouble to find the best and correct way to set up my Models relationships to fet...
I've got restful API set up in the /components/index/ route. Components have a belongsToMany relatio...
I'm trying to understand what Pessimistic Locking is. It's referenced in the documentation (http://l...
I have a general User model with general mass-assign white listing of fields as protected $fillable....
Hi I'm trying to manually set relations according to the configuration file. In my constructor for e...
Hi! I have a model named User, that has an one to many relationship with a model named City, that ha...
So I'm developing a REST API, with the following schema members id other field other field member_...
It's been two days debugging. is there a way to chain this properly ? I tried $post = Post::has('com...
Hello everyone. I have 3 Tables Posts id content Comments id commented_id (user_id) user_id User...
Greetings, I am returning a value from a variable in my controller but it yields different results w...
Hello guys, I am having some trouble filtering data through a relationship that i created... CLASS T...
I'm looking for the most efficient way to get the count of related records from related tables. The...
I have 2 Tables User id full_name Post id user_id title content How to find out User.full_name f...
I'm willing to implement a search function with a Integration of a school API. in other words. I'm w...
I use Ardent for my models, but i want to use this packages: https://github.com/lazychaser/laravel-n...
So I want to store users ip in my database, but I coulnd create VARBINARY(16) in my schema builder....
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