I am using a third party library and locally, I installed everything using the steps that they provided.
composer require
are you using cached config files ? try using
php artisan config:clear
and retry
php artisan vendor:publish
You have to save all for the project before (php artisan vendor:publish).