Hello jonathantyar,
You need to create system.php file first, have a look at package 'Shipping->src->Config->system.php' file which will help you in easy understanding
and after that, within your provider's register method, merge your carriers and system file like below stated
$this->mergeConfigFrom(
dirname(__DIR__) . '/Config/carriers.php', 'carriers'
);
$this->mergeConfigFrom(
dirname(__DIR__) . '/Config/system.php', 'core'
);
At last, run the below commands
- composer dump-autoload
- php artisan config:cache