Can you append custom env fields automatically with laravel package

268 views Asked by At

I am trying to create a laravel package and it requires a level of abstraction where user of the package is ment to input an API key. So i made an API KEY field in the .env, with a config file of course..

my question is, is it possible to append your custom env fields automatically when someone composer-requires your package to his/her existing env file..

Or do i just have to specify the custom fields in my packages documentation

0

There are 0 answers