Support the ongoing development of Laravel.io →

3,391 Threads

Changing Eloquent models database connection at runtime

Is there any way to force Eloquent models to re resolve the connection they were instantiated with?...

0 Likes
3 Replies
Solved

Routing problem on quickstart tutorial

Hi all, Looking to move back from .NET MVC to an enlightened and lovely PHP framework. I like what...

0 Likes
6 Replies
Solved

To get variables from "config" folder and use it in "Test cases"

#UNABLE TO ACCESS config Is there any way to create a config object in test cases. Currently we are...

0 Likes
0 Replies

Запуск проекта на IIS

Всем привет, возникла необходимость разместить сайт на ларе на сервере IIS под виндой и без инета. С...

0 Likes
1 Replies

Permission Error

Hi, I have two questions the first one I wanna know how I can move my project from C:\ folder to my...

0 Likes
0 Replies

new environment / homestead broken

Hi, so I'm installing Laravel and Homestead from scratch on a new laptop, and after git clone / bash...

0 Likes
2 Replies

URL Rewritting Error 500

Hi, I have a shared hosting on 1&1, everything is ok I created a sub-domain and I choosed the ph...

0 Likes
1 Replies
Solved

Help with Installation

Hi, I already have XAMPP installed on Windows 10 and everything is FINE and running. I use pho/mysql...

0 Likes
9 Replies
posted 8 years ago

Laravel and Electron

I was wondering if some of you guys have some experience working with electron and if yes, can you g...

0 Likes
0 Replies

How to refresh a page without Refreshing Master Page

Hi all! When I go to another page, my command line shows me information that is always loading all j...

0 Likes
5 Replies
Solved

How to seed database after deploying the Laravel app on Heroku?

I successfully deployed a laravel app on Heroku but when I run 'heroku run php artisan db:seed' I go...

0 Likes
0 Replies

How to load JS/CSS files in Master Page 1 time and use them through all pages?

Hello! I have all <script></script> files loading in the Master Page When I change the c...

0 Likes
0 Replies

Laravel 5, route all, request syntax

Hello, i recently started to use laravel and can't figure out how to solve this route Route::g...

0 Likes
1 Replies

Problem with hosting shared

Hi! I have a problem with this code in hosting shared, but works fine in localhost. this function re...

0 Likes
2 Replies

"php artisan queue:failed" in Homestead is using mysql not postgres, even though postgres is defined in .env

Hi all, I've got 5.1.6 running in Homestead with postgres set as the DB in my .env file. The entire...

0 Likes
2 Replies

Multimail: Mail with multiple configs at runtime -- need opinions

I wanted to be able to do something like this: Mail::using($c)->send('emails/default', ['content'...

0 Likes
3 Replies
posted 8 years ago

Storage: get url of file

Hi, i'm trying to get url of file in storage folder. This is local disk configuration: 'disks' =>...

0 Likes
1 Replies

response()->json() return an object instead of string json

Hello, I make a get ajax request, and my controller is in charge of making query to the database and...

0 Likes
4 Replies

Problem redirect administration panel

Hi, you do not see the administration panel: http://www.sito.net/administrator/login But you get the...

0 Likes
1 Replies

database, model, eloquent convention

hi, I'm started to use Laravel and have a question about the underscore convention when creating tab...

0 Likes
4 Replies

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.