Support the ongoing development of Laravel.io →

103 Threads

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

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

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

Why save method is working but update operation is not?

Need Help:The following is the controller function where I am having trouble. The commented-out code...

0 Likes 8 Replies
Solved

DualListBox compilation error while useing Inertiajs(React)

Hi.! I'm using React Dual List box plugin for transferbut while compiling Mix is giving me this erro...

0 Likes 1 Replies
Solved

Remove tabs from page source

is there a laravel package to remove tabs when the website is loaded with page source view in browse...

0 Likes 2 Replies
Solved

Inject JsonResource in reusable Controller

Hey, I'm trying to inject a JsonResource to my reusable Controller. ApiBaseController: Here I want t...

0 Likes 1 Replies
Solved

How to sign outgoing emails in Laravel 9 with a DKIM?

Please explain the conception of how to sign outgoing emails in Laravel 9 with a DKIM signature. Lar...

0 Likes 6 Replies
Solved

Inserting database data obtained form dropdown in databaseL

I have retrieved data from database and populate form select. But value is not inserting in database...

0 Likes 4 Replies
Solved

Http::get to localhost is Infinite loop?

This is the only thing that stops the process and makes port 8000 unusable. Nothing is returned to t...

0 Likes 4 Replies
Solved

Factories - Create multiple records with a single request

Hello beautiful people, I am currently experimenting with super long running times on a feature that...

0 Likes 3 Replies
Solved

Empty providers for Faker with `php artisan test`

I'm trying to use Faker for unit testing. Faker fails to generate random data for the model instance...

0 Likes 2 Replies
Solved

i dont know how to fix public folder name in laravel url

how to fix public folder name in laravel url ?

1 Likes 5 Replies
Solved

prevent loading subdomain when using www

I have a Laravel project, where i am managing domain and subdomain altogether. That domain and subdo...

0 Likes 1 Replies
Solved

I want to install laravel 8.x by laravel.build

hi, I am building laravel using "curl -s https://laravel.build/example-app | bash". I want...

0 Likes 3 Replies
Solved

Consultation in Laravel

I'm trying to get the name and id of a certain department using the query: $department = Department:...

0 Likes 2 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?

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

© 2022 Laravel.io - All rights reserved.