Support the ongoing development of Laravel.io →

122 Threads

foreignKey

Hi im pretty new to laravel so hope you dont mind for my lack of knowledge. here is my code ive crea...

0 Likes 2 Replies
Solved

Polymorphic relationships and resources

Hello I'm not sure how to form this question but I think it boils down to this: I don't know how res...

0 Likes 1 Replies
Solved

Session not displaying correctly in Laravel 10 after AJAX

I'm developing a web application using the Laravel framework. I'm using the Laravel session system i...

0 Likes 4 Replies
Solved

Laravel Eloquent - Repetitive IDs in the IN clause when eage

Environnment OS: Windows 11 - WSL2 (Ubuntu 20.04) PHP: 8.1 Stack: Laravel 9.22 | InertiaJS | Vue3 Da...

0 Likes 1 Replies
Solved

Creating Custom Cards not working with Nova 4.

Hey there, I am using Nova 4 and Laravel 10. I have requirement to greet user on logging in with a W...

0 Likes 1 Replies
Solved

Alternate for the .env file

Hi, I have a website based on Laravel, and I don't want to keep the environmental file on the server...

0 Likes 2 Replies
Solved
posted 9 months ago

Undefined array key 1 ServeCommand.php:308

I created a very basic project, just showing a variable on the page by echo. After a few requests I...

0 Likes 1 Replies
Solved

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 11 months 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 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...

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

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

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.

© 2023 Laravel.io - All rights reserved.