Hi all. I have 3 tables in Laravel: doctors, clinics and clinic_doctors. Doctors have relation: publ...
Hi all. I just deploy my laravel app using docker container on my GCP instance. I can run the migrat...
I have a query that I was previously calling with Quote::with(['detail.orders'])->findOrFail($id)...
Hello , I'd hoped you could help me make what I already have a little cleaner. The goal: Show a Vide...
Hi everybody! My team and I wanted to know if this is the normal way Eloquent relationships handle s...
Hello I am working on an ecommerce application. I have following models: Product, Attribute, Product...
wanted to create dynamic scheduling jobs so I have used model in Kernel.php like below protected fun...
Hi all, I'm new here, I created a package (currently empty) because I would like to manage extra dat...
Laravel Version: 5.7.25 PHP Version: 7.2.14 Database Driver & Version: MySQL 2ª gen. 5.7 We ar...
PHP throws me Allowed memory size of 536870912 bytes exhausted (tried to allocate 365815888 bytes) i...
I have three models Spot, DealItem and Daypart each has its own relationships class Spot extends Mod...
Hello, This is gonna be a long read..... I have a really hard time figuring this out. I will provide...
I have three tables : PLAYERS with a team_id TEAMS SCORES with a player_id The thing is : My team...
I am stuck at the fee search filter part in my web app. My setup of polymorphic table is, Models: Fe...
Hi, I have a question related to Laravel and database. I have a PEOPLE table and other POSITIONS, so...
Hello, I need suggestions for database architecture. I am going to build SaaS application for Compan...
Hey everyone, I'm trying to specify a belongsToMany relationship with a setup where with : Content -...
How can I search in multiple indices in single API call ? currently we can search in single index va...
How can I search Algolia using Laravel/Scout in multiple indices in single API call using multiple q...
If I do DB::statement("SET @foo := 1;"); DB::select("SELECT @foo;"); I get the...
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.