Database · Large files
Database large files examples.
Package-local, copy-ready examples organized like the classes and methods reference. Open one example at a time, search by method, and jump from the right-side index.
Database individual library
Large files examples with copy-ready, production-minded PHP.
Every snippet uses mnb/mnb-phpexcel-database or its declared Core dependency. Each copied snippet includes strict typing, a concise summary, implementation guidance, readable limits, and a safe fixture check.
- 1
- examples
- 2
- documented methods
LargeImportManifest::start()LargeImportManifest::update()<?php
declare(strict_types=1);
/*
Summary:
Store source identity, progress, and the last committed row for a long-running import.
Implementation note:
Resume safety also depends on stable unique keys, idempotent duplicate behavior, and an
unchanged source fingerprint.
*/
use Mnb\PHPExcel\Large\LargeImportManifest;
$manifest = new LargeImportManifest(__DIR__ . '/storage/import.json');
$manifest->start([
'source_path' => $sourcePath,
'table' => 'orders',
'status' => 'running',
]);
$manifest->update([
'chunks_completed' => 4,
'last_row_number' => 4_001,
]);No matching example found.Try a method name, task, or result.
Was this guide useful?Use GitHub issues for corrections, missing examples, or unclear behavior.
Open an issue