diff --git a/compressors/PdfCompressor.php b/compressors/PdfCompressor.php index 815e289..726b7da 100644 --- a/compressors/PdfCompressor.php +++ b/compressors/PdfCompressor.php @@ -72,6 +72,8 @@ class PdfCompressor extends Compressor $versionFilename = $destination.'/'.$this->versionFilename($source, $destWidth, $destHeight); Storage::put($versionFilename, file_get_contents($temp)); + + unlink($temp); } }