se ho capito bene, potresti farti un archivio zip e poi far scaricare quello: https://www.php.net/manual/en/ziparchive.addfile.php