Support the ongoing development of Laravel.io →
posted 4 days ago

Livewire Input default values

Hello world !!! How do I assign a default value to an input tag in livewire? My code: <input name...

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

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

What makes this permissions-checking middleware fail?

I am working on a blogging application in Laravel 8. The application gives the users rights by assig...

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

paginator and search user inputnree Query

Hello hope everyone is well, I am very new to this. And having a bit of trouble with a query and pag...

0 Likes 2 Replies
Solved
posted 1 month ago

belongsToMany with pivot

Hello, I need to extract related information from a pivot table (country_id). How to do please? Tabl...

0 Likes 1 Replies
Solved
posted 2 months ago

Why won't Composer update?Co

I am running Laravel 9.41.0 but my Composer is just at 2.0.7 and is showing me some deprecation mess...

0 Likes 1 Replies
Solved

Error: Attempt to read property "cpf" on null - Laravel 9

I'm trying to view details of a property that I registered in the bank and I'm getting this error me...

0 Likes 9 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 2 months 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 3 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 4 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

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.