ikinci temizlik tamamlandı

This commit is contained in:
Ümit Tunç
2026-04-28 21:15:09 +03:00
parent f80443aec0
commit 37e7296527
8313 changed files with 2400677 additions and 0 deletions
@@ -0,0 +1,24 @@
<?php
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
try {
// Yeni bir elektronik tablo oluştur
$spreadsheet = new Spreadsheet();
$sheet = $spreadsheet->getActiveSheet();
$sheet->setCellValue('A1', 'Hello World!');
// Yeni bir Xlsx dosya yazıcı oluştur
$writer = new Xlsx($spreadsheet);
// Dosya yolu
$outputFilePath = 'storage/documents/test/output/output.xlsx';
// Dosyayı kaydet
$writer->save($outputFilePath);
echo "Dosya başarıyla Xlsx olarak kaydedildi: $outputFilePath";
} catch (Exception $e) {
echo 'Hata: ' . $e->getMessage();
}
?>