Skip to content
MNB PHPExcelDeveloper Guide
AI
DB + XLSX library

DB + XLSX classes and methods.

Browse this library and the shared dependency classes returned by its public API. Package ownership remains visible beside each class.

Packagemnb/mnb-phpexcel-database-xlsxReference104 classes · 507 methods

Updated

Class API

Mnb\PHPExcel\Large\LargeExcelDatabaseImportEngine

# Streams large XLSX rows into a database using chunk validation, PDO batch inserts, failed-row CSV export, and resumable JSON progress manifests.# Declaration: final class LargeExcelDatabaseImportEngine# Package: mnb/mnb-phpexcel-database-xlsx# Methods: 3Mnb\PHPExcel\Large\LargeExcelDatabaseImportEngine{
# Purpose: Creates a new LargeExcelDatabaseImportEngine instance.public function __construct(?LargeXlsxStreamingReader $reader = null, # Reader implementation used by the session.?ArrayValidator $validator = null, # Input value for `$validator` (?ArrayValidator). Example: []?SqlImporter $sqlImporter = null # Input value for `$sqlImporter` (?SqlImporter).): mixed
# Purpose: Imports to sql.public function importToSql(string $path, # Path to the source or destination file. Example: __DIR__ . '/workbook.xlsx'PDO $pdo, # PDO connection used for database operations.string $table, # Database table name. Example: 'imports'array $options = [] # Configuration options for this operation. Example: []): array
# Purpose: Import all or selected sheets from a workbook. Each sheet is imported by the same streaming engine.public function importWorkbookToSql(string $path, # Path to the source or destination file. Example: __DIR__ . '/workbook.xlsx'PDO $pdo, # PDO connection used for database operations.string|array $tableMap, # Input value for `$tableMap` (string|array). Example: []array $options = [] # Configuration options for this operation. Example: []): array
}
Class API

Mnb\PHPExcel\Contracts\DatabaseTargetInterface

Class API

Mnb\PHPExcel\Domain\DomainImportPreset

Class API

Mnb\PHPExcel\Domain\DomainImportRegistry

Class API

Mnb\PHPExcel\Domain\DomainImportType

Class API

Mnb\PHPExcel\Import\DomainImporter

Class API

Mnb\PHPExcel\Import\ImportQualityAnalyzer

Class API

Mnb\PHPExcel\Import\SqlImporter

Class API

Mnb\PHPExcel\Large\LargeFailedRowsCsvWriter

Class API

Mnb\PHPExcel\Large\LargeImportManifest

Class API

Mnb\PHPExcel\Large\LargePdoCursor

Class API

Mnb\PHPExcel\Support\DatabaseConfigResolver

Class API

Mnb\PHPExcel\Support\DatabaseConnectionFactory

Class API

Mnb\PHPExcel\Support\DatabaseIntegrationSuite

Class API

Mnb\PHPExcel\Application\UploadSafetyValidator

Class API

Mnb\PHPExcel\Format\Xlsx

Class API

Mnb\PHPExcel\Large\ImportMethodAdvisor

Class API

Mnb\PHPExcel\Large\LargeExcelPreflightAnalyzer

Class API

Mnb\PHPExcel\Large\LargeSharedStringCache

Class API

Mnb\PHPExcel\Large\LargeXlsxReadSession

Class API

Mnb\PHPExcel\Large\LargeXlsxStreamingReader

Class API

Mnb\PHPExcel\Large\LargeXlsxStreamingWriter

Class API

Mnb\PHPExcel\Large\LargeXlsxWriteSession

Class API

Mnb\PHPExcel\Reader\Formula\FormulaEvaluatorFactory

Class API

Mnb\PHPExcel\Reader\Formula\FormulaEvaluatorInterface

Class API

Mnb\PHPExcel\Reader\Formula\FormulaFunctionRegistry

Class API

Mnb\PHPExcel\Reader\Formula\NativeFormulaEvaluator

Class API

Mnb\PHPExcel\Reader\Formula\PhpSpreadsheetFormulaEvaluator

Class API

Mnb\PHPExcel\Reader\MergedCellMap

Class API

Mnb\PHPExcel\Reader\SharedStrings\InMemorySharedStringProvider

Class API

Mnb\PHPExcel\Reader\SharedStrings\SharedStringProviderInterface

Class API

Mnb\PHPExcel\Reader\XlsxImageExtractor

Class API

Mnb\PHPExcel\Reader\XlsxInspector

Class API

Mnb\PHPExcel\Reader\XlsxMetadataExtractor

Class API

Mnb\PHPExcel\Reader\XlsxProtectionReader

Class API

Mnb\PHPExcel\Reader\XlsxQuickInfo

Class API

Mnb\PHPExcel\Reader\XlsxReader

Class API

Mnb\PHPExcel\Reader\XlsxStyleMap

Class API

Mnb\PHPExcel\Reader\XlsxWorkbookResolver

Class API

Mnb\PHPExcel\Security\AgileXlsxEncryption

Class API

Mnb\PHPExcel\Security\CellSafetyScanner

Class API

Mnb\PHPExcel\Security\CompoundFile

Class API

Mnb\PHPExcel\Security\DocumentProtection

Class API

Mnb\PHPExcel\Security\FormulaGuard

Class API

Mnb\PHPExcel\Security\StandardXlsxEncryption

Class API

Mnb\PHPExcel\Security\XlsxEncryption

Class API

Mnb\PHPExcel\Support\AdvancedWorkbookCapabilities

Class API

Mnb\PHPExcel\Support\CompatibilityFixtureSuite

Class API

Mnb\PHPExcel\Support\XlsxCompatibilityFixtureFactory

Class API

Mnb\PHPExcel\Support\XlsxCompatibilityVerifier

Class API

Mnb\PHPExcel\Support\XlsxIntegrityValidator

Class API

Mnb\PHPExcel\Template\XlsxImportTemplateFactory

Class API

Mnb\PHPExcel\Writer\XlsxWriter

Class API

Mnb\PHPExcel\Application\LoggerBridge

Class API

Mnb\PHPExcel\Application\RowTransformerPipeline

Class API

Mnb\PHPExcel\Contracts\ReaderPluginInterface

Class API

Mnb\PHPExcel\Contracts\WriterPluginInterface

Class API

Mnb\PHPExcel\Core\CellValue

Class API

Mnb\PHPExcel\Core\RichText

Class API

Mnb\PHPExcel\Core\RichTextRun

Class API

Mnb\PHPExcel\Core\WorkbookData

Class API

Mnb\PHPExcel\Core\WorkbookFactory

Class API

Mnb\PHPExcel\Core\WorksheetData

Class API

Mnb\PHPExcel\Events\EventDispatcher

Class API

Mnb\PHPExcel\Reader\ActiveSheetReaderInterface

Class API

Mnb\PHPExcel\Reader\AdvancedReaderInterface

Class API

Mnb\PHPExcel\Reader\ColumnProjection

Class API

Mnb\PHPExcel\Reader\FormatAwareReaderInterface

Class API

Mnb\PHPExcel\Reader\HeaderDetector

Class API

Mnb\PHPExcel\Reader\InspectableReaderInterface

Class API

Mnb\PHPExcel\Reader\IterableReaderInterface

Class API

Mnb\PHPExcel\Reader\Options\ReaderOptions

Class API

Mnb\PHPExcel\Reader\Options\ReadMode

Class API

Mnb\PHPExcel\Reader\Options\RowErrorPolicy

Class API

Mnb\PHPExcel\Reader\Plugin\PluginReaderAdapter

Class API

Mnb\PHPExcel\Reader\ReaderInterface

Class API

Mnb\PHPExcel\Reader\ReaderRegistry

Class API

Mnb\PHPExcel\Reader\ReadSession

Class API

Mnb\PHPExcel\Reader\SheetNamesReaderInterface

Class API

Mnb\PHPExcel\Reader\State\CellSnapshot

Class API

Mnb\PHPExcel\Reader\State\FormulaResult

Class API

Mnb\PHPExcel\Reader\State\HeaderDetection

Class API

Mnb\PHPExcel\Reader\State\ReadProgress

Class API

Mnb\PHPExcel\Reader\State\RowState

Class API

Mnb\PHPExcel\Reader\XlsReaderInterface

Class API

Mnb\PHPExcel\SpreadsheetManager

Class API

Mnb\PHPExcel\Support\Arr

Class API

Mnb\PHPExcel\Support\AtomicFileWriter

Class API

Mnb\PHPExcel\Support\Coordinate

Class API

Mnb\PHPExcel\Support\EmptyWorksheetException

Class API

Mnb\PHPExcel\Support\EnvironmentDiagnostics

Class API

Mnb\PHPExcel\Support\ErrorCode

Class API

Mnb\PHPExcel\Support\ErrorReporter

Class API

Mnb\PHPExcel\Support\FileFormatDetector

Class API

Mnb\PHPExcel\Support\LocaleNormalizer

Class API

Mnb\PHPExcel\Support\MnbExcelErrorHandler

Class API

Mnb\PHPExcel\Support\MnbExcelException

Class API

Mnb\PHPExcel\Support\SheetNameAllocator

Class API

Mnb\PHPExcel\Support\SheetSelectionException

Class API

Mnb\PHPExcel\Support\ValueSanitizer

Class API

Mnb\PHPExcel\Support\Xml\XmlReader

Class API

Mnb\PHPExcel\Support\Zip\ZipArchive

Class API

Mnb\PHPExcel\Validation\ArrayValidator

Class API

Mnb\PHPExcel\Validation\CustomValidatorRegistry