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...
I want to implement domain.com/section/slug format in my website.(currently it like - domain.com/sec...
I am fairly new to Laravel and I have been trying to find the best way to create a cache wrapper for...
Hello , I have a question , I am developing a website like a facebook . It will have POSTS and a Use...
Hi, In my Laravel project, my users-table and password_resets-table are located in the database Inte...
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