I have a library which I want to wrap into Laravel package.
My library uses two configs: the public config.php
for some nonsensitive settings and .env
private config for sensitive credentials.
I'd like to vendor:publish
my configs for end user. And it seems fine for public config.php
but how to publish my .env
in Laravel-friendly way? I failed to find any way to do it by vendor:publish
.