Support the ongoing development of Laravel.io →
Faisal Khan

Faisal Khan

Joined 2 Mar 2022
I'm a Lead Software Engineer with a demonstrated history of working in the computer software industry. Skilled in Laravel,Livewire,PHP,jQuery,JS,Bootstrap & CSS

Statistics

Threads 0
Replies 134
Solutions 23
Articles 0

faisal has not posted any threads yet

replied 3 years ago

Use foreign Key to display information from other table lae

You have to define a custom value if the relationship id is not found on the target model like: retu...

0 Likes
replied 3 years ago

Use foreign Key to display information from other table lae

try to use get() method instead of all()

0 Likes
replied 3 years ago

Use foreign Key to display information from other table lae

First of all, before posting any thread please see the preview of the thread, as it's hard to find t...

0 Likes
replied 3 years ago

How do I filter posts by status with Laravel query builder?

Problem: The problem is you were doing the OR operation of status and $query value. Solution: You ha...

0 Likes
replied 3 years ago

How do I filter posts by status with Laravel query builder?

below is the updated code that you can use to get the active courses. public function posts(Request...

0 Likes
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.