Support the ongoing development of Laravel.io →

115 Threads

HasOneThrough() Relationship Issue

I am having an issue with my hasOneThrough() relationship. When trying to eager load the relationshi...

0 Likes 5 Replies
Solved
posted 1 month ago

Laravel Request query param issues

I am not sure if this is a bug inside of Illuminate\Http\Requests, but any help would be appreciated...

1 Likes 1 Replies
Solved

props shared in HandleInertiaRequests.php do not get updated

I am trying to localize a Laravel Inertia (Vue) app. I have created a middleware which sets the app...

0 Likes 1 Replies
Solved

Making a test for the “string” validation in Laravel

When thinking about the purpose of the “string” validation, I immediately think about how html forms...

0 Likes 1 Replies
Solved

How to hide my Unsplash api key in Laravel

I am making a call from a Vue component but my "Authorization id" api key is visible for...

0 Likes 1 Replies
Solved

Using laravel orchid can i call two return statements.

im using laravel orchid for a project with crud operations so i created a button to add a new row in...

0 Likes 1 Replies
Solved

Loading a .env file from a different location

Like the subject says, I'm trying to load an .env file from another location. In a nutshell I'm moun...

0 Likes 1 Replies
Solved
posted 2 months ago

Add a <br /> after the <<Previous Next>>

Add a <br /> after the <<Previous Next>> in the database list display. I have this...

0 Likes 2 Replies
Solved

Eloquent query builder does not work correct for morph to re

Hi all. I'm using Constraining Eager Loads With Relationship Existence but getting unexpected result...

1 Likes 5 Replies
Solved

Storing and Querying Schedules

Hello Everyone! I'm working on a multi-store system and I would need to store efficently working day...

0 Likes 1 Replies
Solved
posted 2 months ago

Laravel 9 Sail port forward error for mysql

I have port forwarded applications mysql port to 3307 because I need my host mysql to keep running a...

0 Likes 2 Replies
Solved
posted 3 months ago

import .txt file save it and export

Hello, i'want to import plain text file to database and export it. if any one can help it's will be...

0 Likes 8 Replies
Solved
posted 4 months ago

How can make a pager in Laravel 8?

I am working on a blogging application in Laravel 8. Un the ArticlesController controller I have: cl...

0 Likes 1 Replies
Solved

Laravel - MorphTo relation sometimes returns null

I have a polymorphic relationship between an Article model and 3 models (Company, Group & User)...

0 Likes 1 Replies
Solved

Changing the morphMap for only some relations

Hello everyone! We are creating a new API to serve from our legacy database. We have a few different...

0 Likes 5 Replies
Solved

sorting in descending orderlara

Hey, I am trying to display the most recent survey results of a user, which are stored in a mysql da...

0 Likes 3 Replies
Solved

"undefined

Hello! I am new to laravel and am using version 5.8. I have created a Likert survey where users rank...

0 Likes 6 Replies
Solved
posted 4 months ago

is there any laravel referral package lara

is there any laravel referral package

0 Likes 1 Replies
Solved

Is there a way to get Laravel Nova for free in localhost?

Is there a way to get Laravel nova for free just to practice it in my localhost? I went to the larav...

0 Likes 1 Replies
Solved
posted 5 months ago

Multiple creations

Hi, In my practice project, I want to create Product only if ProductEnglish is also created. The pro...

0 Likes 9 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.

© 2022 Laravel.io - All rights reserved.