files()->putContent($path, $contents); Activity::event('server:file.write')->subject($server)->property('file', $path)->log(); } }