You can save the created or manipulated PDF document to file system using save method of Document class.
$document = new Document($inputFile); $document->save($outputFile);