mailersend-laravel-driver icon indicating copy to clipboard operation
mailersend-laravel-driver copied to clipboard

Error thrown when publishing package config with vendor:publish

Open wojciechczerniak opened this issue 2 months ago • 0 comments

It's not possible to publish package config, therefore it's not possible to modify how config values are read/read from.

> artisan vendor:publish --provider="MailerSend\LaravelDriver\LaravelDriverServiceProvider"

   INFO  Publishing assets.  

   ERROR  Cant locate path: <vendor/mailersend/laravel-driver/src/../config/config.php>.

Config file was renamed but not updated in boilerplate fragment: https://github.com/mailersend/mailersend-laravel-driver/blob/dd465077e89b903fe1dcc75c92203c7449ef57ee/src/LaravelDriverServiceProvider.php#L27-L31

Workaround is to create the file manually.

wojciechczerniak avatar Nov 30 '24 21:11 wojciechczerniak