Support the ongoing development of Laravel.io →

Install Packages With Composer

Hello, I am unable to install packages (i.e. jetstream) through composer since the repository larapa...

0 Likes
1 Replies

Spark + Stripe Billing Question

Hello, recently we have decided to revamp one of the projects I am a part of, in doing so we have mo...

0 Likes
0 Replies

Is Laravel Sail not suitable for production?

Hi, After I go through docker-compose.yml & dockerfile which create using laravel sail. I did no...

0 Likes
1 Replies
posted 3 years ago

[BUG] - $_ENV var not set in Event Listener?

Laravel Version: 8.54.0 PHP Version: 7.4.14 Database Driver & Version: Mysql / 8.0.23 The Prob...

0 Likes
4 Replies

How can I optimize this eloquent code for better performance

Product belongs to many postings, and I want to sum multiple columns. This example working correctly...

0 Likes
1 Replies
posted 3 years ago

Passport MultiAuth

Hello I have a problem. I use Laravel 7 with Passport 9 I want to authenticate my users and the club...

0 Likes
1 Replies
posted 3 years ago

javascript not working after compiling

Hello everybody, I compiled assets and after that, I have errors in my console as if the js methods...

0 Likes
1 Replies

2 Laravel Servers with Observers on a shared DB (Advice)

Hello Community, I need some advice, I've got 2 servers (website A and website B). Website A updates...

0 Likes
2 Replies
Solved

How can i get the device and browser from user_agent

How can i get the device and browser from user_agent Like $device->user_agent->browser blade @...

ngoquocdat liked this thread

1 Likes
1 Replies
Solved

No Application Encryption Key Has Been Specified

After installing fresh installation of laravel default page is not opening and getting an exception...

0 Likes
1 Replies
Solved
posted 3 years ago

Beginner question Undefined variable error using controller

I am new to Laravel and learning to use a controller. I have got a resource controller working, but...

0 Likes
2 Replies
Solved

Mail::Inline Attachments

I'm trying to send an email with laravel. With this function I can send emails and attachments. But...

ngoquocdat liked this thread

1 Likes
1 Replies

resource route /admin not found on this server

I have been working on my site and after changing my routes to point to admin, i received that error...

0 Likes
2 Replies
Solved
posted 3 years ago

migrations / class not found

How can I move snippet for single table creation from function up() to a class in another file? Init...

0 Likes
1 Replies
Solved

[Laravel 6.20] - Issue trying to assert Response structur

Laravel Version: 6.20.30 PHP Version: 7.2.8 Database Driver & Version: Mysql 5.7 Description:...

0 Likes
0 Replies
posted 3 years ago

laravel 7: Conditional Statement

laravel 7: if the same id matches, then provide output in a disabled field

0 Likes
1 Replies

file_get_contents('/path/to/laravel/') instead of public url

Can I do this: file_get_contents('/home/user/public_html/'); instead of: file_get_contents('https://...

trino liked this thread

1 Likes
1 Replies
posted 3 years ago

django and laravel

what different between django and laravel in security?

0 Likes
1 Replies

link in laravel.io not working

Why does the link option not work in editor Laravel.io ? Nothing is displayed when I try to display...

0 Likes
2 Replies
Solved
posted 3 years ago

Win10: Docker is not running

I am trying to follow the Getting Started tutorial. Typically I'm used to just install XAMPP and use...

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?

Laravel.io

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

© 2025 Laravel.io - All rights reserved.