Developer guide
/
Database
/ Database library
/ Database library features
Current library Database individual library Install this focused package instead of the monolithic library.
Database library Standalone Database capabilities
Format-neutral PDO import, validation, and mapping features. The Database library accepts iterable rows or rows supplied by an installed format reader. It owns mapping, validation, previews, prepared SQL batches, duplicate strategies, domain presets, manifests, and failed-row output.
Package Quick start Capabilities Boundaries
Package 1 Database
Capabilities 13 Documented for this library
Feature groups 8 Package-specific responsibilities Updated August 1, 2026
Level All levels Reading time 5 min Package mnb/mnb-phpexcel-database
What you will learn Understand which workflows are format-neutral. Separate Database features from format-reader responsibilities. Choose the mapping, validation, domain, or resume guide. What this library includes This page is limited to mnb/mnb-phpexcel-database. Features from the monolithic package or another individual library are not mixed into this list.
Install composer require mnb/mnb-phpexcel-database:^2.0Primary API Mnb\PHPExcel\Import\SqlImporterScope Individual library Focused dependency and package-local API Package links GitHub repository ↗ Packagist package ↗ Package quick start The example uses the individual-library API documented by this feature page.
database-features.php Copy
<?php
require __DIR__ . '/vendor/autoload.php';
use Mnb\PHPExcel\Import\SqlImporter;
$importer = new SqlImporter($pdo);
$result = $importer->import($rows, 'products', [
'mapping' => ['SKU' => 'sku', 'Price' => 'price'],
'unique_by' => ['sku'],
'duplicate_strategy' => 'update',
]);Supported capabilities Search the capabilities owned by this package and open the matching package-specific guide.
Connections 1 capabilities No matching feature found in this library.
Feature boundaries These limits prevent individual-library documentation from being confused with the complete monolithic package.
Was this guide useful? Use GitHub issues for corrections, missing examples, or unclear behavior.
Open an issue
Previous ← Standalone Database Library Next Database classes & methods →
Search the developer guide Find guides, packages, methods, and examples.
All
Read
Write
Import
Large files
Troubleshooting
API
Benchmarks
Type
All types
Guide
Use case
Example
Tool
Reference
0 matching pages
↑ ↓ move · Enter open · Esc close