laroute
laroute copied to clipboard
Laravel 5.4 publish config file does not work on Windows
Able to get success message but config file is not published.
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'
Having the same issue, it's not publishing a config file when running that exact command.
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 Yes, If I recall correctly I was testing this on Windows.
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
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
Single quotes didn't work for me either, but double quotes did.