In case this will help others, I remembered Laravel introduced "stubs" (which are a sort of templates); so, I created my own stub with the phpdocxconfig.ini file and placed in my versioned code; on composer install and update, in the scripts section I call a dedicated command that reads from that stub and replaces the placeholders with config values; at the end, the command replaces the phpdocxconfig.ini from vendor with the new file and it seems to work ok.