Установить файл в поставщике

composer require cweagans/composer-patches symplify/vendor-patches --dev
//copy in ___.old, modify and run 
vendor/bin/vendor-patches generate
cadot.eu