hi, thank you for this useful lib
i have problem with vendor:publish command. there is a Publishing complete. message and nothing changed
i try these :
php artisan vendor:publish --provider="Gloudemans\Shoppingcart\ShoppingcartServiceProvider" --tag="config"
php artisan vendor:publish --provider="Gloudemans\Shoppingcart\ShoppingcartServiceProvider" --tag="migrations"
php artisan vendor:publish
laravel 5.4
is there any problem in lib ? or i have mistake somewhere ?
thank you
Did you add the service provider to the providers array in the configuration?
yes ... service provider class added in array
php artisan cache:clear but especially php artisan config:clear.
thank you ... everything is good now
but what is wrong here ? why php artisan config:clear fix everything ?
There a whole bunch of possible reasons.
Just only config:cache in production. Test it, but clear after.
@hatamiarash7 well apparently you had you config cached. So at that point Laravel won't read your configuration files anymore and the newly added service provider will not be seen. Untip you clear the cache of course. 馃檪