laroute icon indicating copy to clipboard operation
laroute copied to clipboard

Laravel 5.4 publish config file does not work on Windows

Open jclee100 opened this issue 8 years ago • 7 comments

Able to get success message but config file is not published.

jclee100 avatar Jan 26 '17 23:01 jclee100

Hmm. I just did this the other day. Are you doing as it says in the readme?

php artisan vendor:publish --provider='Lord\Laroute\LarouteServiceProvider'

aaronlord avatar Feb 07 '17 15:02 aaronlord

Having the same issue, it's not publishing a config file when running that exact command.

svenluijten avatar Feb 12 '17 15:02 svenluijten

The single quotes appear to be the problem in the example command. I reckon this is a Windows thing. @komirad can you confirm whether you're on Windows or not? 😃

svenluijten avatar Feb 12 '17 15:02 svenluijten

@svenluijten Yes, If I recall correctly I was testing this on Windows.

jclee100 avatar Feb 12 '17 16:02 jclee100

I'm having the same problem. The solution doesn't work for me and I'm using Windows. Tried double quotes but still not working

UltimaHoarder avatar Mar 01 '17 20:03 UltimaHoarder

Guys, don't use quotes altogether.

> php artisan vendor:publish --provider=Lord\Laroute\LarouteServiceProvider
Copied File [\vendor\lord\laroute\config\laroute.php] To [\config\laroute.php] 

The readme is also wrong.

app/config/packages/lord/laroute/config.php should be config/laroute.php

jclee100 avatar Apr 01 '17 17:04 jclee100

Single quotes didn't work for me either, but double quotes did.

KuenzelIT avatar Jun 18 '17 11:06 KuenzelIT