Support the ongoing development of Laravel.io →

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 year ago

Base table or view not found: 1146 Table

I want to create invoice application and the ERD for this application shown below : 1.) Customer tab...

0 Likes
2 Replies
Solved
posted 1 year 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...

dongsheng329 liked this thread

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 1 year 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...

vanny2000 liked this thread

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

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 1 year 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 1 year ago

Error: composer require laravel/ui^4.0 command

While running composer require laravel/ui^4.0, I am getting -> The "https://packagist.org/...

0 Likes
2 Replies
Solved

Why does sending multiline emails fail in this application?

I am working on a blogging application in Laravel 8. The ArticlesController controller I have this m...

0 Likes
2 Replies
Solved

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

Why is the count variable 0 on all pages but the first?

I am working on a blogging application in Laravel 8. The FrontendController controller contains the...

0 Likes
3 Replies
Solved

How do I make a factory that creates proper random titles?

I am working on a Laravel 8 blogging application. I need a large numer of articles in order to test...

0 Likes
3 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

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.

© 2024 Laravel.io - All rights reserved.