MNB PHPExcelDeveloper Guide
Explore

Monolithic package capabilities

Features in the MNB PHPExcel mono library.

Compare every bundled format, reader and writer support, large-file tools, validation, security, reports, database imports, and application workflows.

Formats
6
XLSX, XLS, CSV, JSON, XML, ODS
Capabilities
63
Documented for this library
Feature groups
5
Package-specific responsibilities

Updated

LevelAll levelsReading time6 minPackagemnb/mnb-phpexcel

What you will learn

  • Find the tutorial that owns a specific capability.
  • Understand the common application use case for each feature.
  • Filter capabilities by reading, imports, security, writing, or workflows.

File formats supported

Read and write support included in the main mnb/mnb-phpexcel package.

FormatExtensionBest forReadingWritingNotes
Office Open XML.xlsxExcel 2007 and laterSupportedSupportedNative reader and writer with the richest workbook feature set.
BIFF8 binary workbook.xlsExcel 97–2003SupportedSupportedNative reader and writer; advanced presentation features remain XLSX-only.
Delimited text.csv / .tsvData exchangeSupportedSupportedStreaming, dialect detection, encoding conversion, and injection-safe output.
JSON documents.json / .jsonl / .ndjsonAPIs and data pipelinesSupportedSupportedArrays, workbook-shaped objects, and line-delimited streaming.
XML documents.xmlStructured interchangeSupportedSupportedSafe XML parsing, workbook-shaped documents, and schema mapping.
OpenDocument Spreadsheet.odsLibreOffice and OpenDocumentSupportedNot supportedNative forward-only reader. ODS writing is not included in v2.0.6.

Features cross reference

Supported SupportedPartially supported Partially supportedNot supported Not supportedNot applicable Not applicable

Hover or focus a status symbol for a short explanation where a capability is only partially available.

Readers

Compare normalized reading capabilities across the supported input formats.

ReadersImplementation notes
CapabilityXLSXXLSCSV / TSVJSONXMLODSNotes
Forward row iterationSupportedSupportedSupportedPartially supported: Top-level arrays and NDJSON stream; workbook-shaped objects may be materialized.SupportedSupportedProcess normalized rows without requiring a final PHP array.
Worksheet discovery and selectionSupportedSupportedNot applicablePartially supported: Available for workbook-shaped JSON documents.SupportedSupportedCSV and TSV are single-table formats.
Header-row normalizationSupportedSupportedSupportedSupportedSupportedSupportedChoose a 1-based header row and receive associative records.
Row slicing, offset, and limitsSupportedSupportedSupportedSupportedSupportedSupportedApply row boundaries before application processing.
Column projectionSupportedSupportedSupportedSupportedSupportedSupportedRead only the columns needed by the current workflow.
Formulas and cached resultsSupportedSupportedNot applicableNot applicableNot applicableSupportedReturn formulas, cached values, or both for workbook formats.
Dates and typed scalar valuesSupportedSupportedPartially supported: CSV values begin as text and may be normalized by application rules.SupportedPartially supported: Typed casting is available through schema mapping.SupportedDate conversion follows the source format and reader options.
Styles and number formatsSupportedPartially supported: Common BIFF8 formats and XF records are read.Not applicableNot applicableNot applicableNot supportedUse XLSX for complete workbook-style inspection.
Images, comments, and hyperlinksSupportedNot supportedNot applicableNot applicableNot applicableNot supportedRich media and review metadata are exposed by the XLSX reader.
Password-to-open encrypted inputSupportedNot supportedNot applicableNot applicableNot applicableNot supportedStandard and Agile encrypted XLSX files are supported.
Empty-row filtering and row countsSupportedSupportedSupportedSupportedSupportedSupportedStructured summaries separate source, empty, skipped, header, and returned rows.
Active/default worksheet helpersSupportedSupportedNot applicablePartially supported: Workbook-shaped JSON only.SupportedSupportedUse activeSheet(), sheetIfExists(), and sheetOrActive().

Writers

Compare native output capabilities. A partial mark identifies a deliberately smaller legacy-format feature set.

WritersImplementation notes
CapabilityXLSXXLSCSV / TSVJSONXMLODSNotes
Basic row exportSupportedSupportedSupportedSupportedSupportedNot supportedWrite normalized application rows to the selected output format.
Multiple worksheets or named sectionsSupportedSupportedNot applicableSupportedSupportedNot supportedCSV and TSV intentionally represent one table per file.
FormulasSupportedSupportedNot applicableNot applicableNot applicableNot supportedNative XLSX and BIFF8 writers can emit formulas and cached values.
Styles and number formatsSupportedPartially supported: Basic BIFF8 styles, formats, row heights, and column widths.Not applicableNot applicableNot applicableNot supportedUse XLSX for the broadest presentation control.
Merged cellsSupportedSupportedNot applicableNot applicableNot applicableNot supportedWorkbook formats preserve rectangular merged ranges.
Freeze panes and filtersSupportedPartially supported: Freeze panes are supported; richer filtering belongs to XLSX.Not applicableNot applicableNot applicableNot supportedInteractive worksheet controls are format-specific.
Validation and conditional formattingSupportedNot supportedNot applicableNot applicableNot applicableNot supportedNative XLSX writing includes data validation and conditional rules.
Comments, hyperlinks, and imagesSupportedNot supportedNot applicableNot applicableNot applicableNot supportedRich workbook objects are written through XLSX.
Charts and pivot definitionsSupportedNot supportedNot applicableNot applicableNot applicableNot supportedCreate range-based charts and pivot summaries in XLSX output.
Workbook and worksheet protectionSupportedNot supportedNot applicableNot applicableNot applicableNot supportedProtect workbook structure and worksheet editing in XLSX.
Password-to-open encryptionSupportedNot supportedNot applicableNot applicableNot applicableNot supportedCreate AES-256 encrypted XLSX files.
Text formula-injection protectionNot applicableNot applicableSupportedNot applicableNot applicableNot supportedCSV and TSV output can escape values that spreadsheet programs may treat as formulas.

Complete capability directory

Search every documented feature, filter by workflow area, and open the matching implementation guide.

63 of 63 features

Reading & writing16 capabilities
FeatureWhat it doesTypical useGuide
Import Excel (.xlsx, .xls, .csv)Read spreadsheet dataBulk data uploadOpen guide
Export ExcelGenerate downloadable Excel filesReportsOpen guide
Read Multiple SheetsAccess all worksheetsComplex business filesOpen guide
Read Specific SheetLoad only one worksheetFaster importsOpen guide
Read Cell ValuesGet individual cell dataData extractionOpen guide
Read Rows & ColumnsIterate through recordsDatabase importOpen guide
Read FormulasGet Excel formulasFinancial calculationsOpen guide
Get Calculated ValuesReturn formula resultsReportsOpen guide
Read FormattingFont, color, bordersTemplate processingOpen guide
Read ImagesExtract embedded imagesProduct catalogsOpen guide
Read HyperlinksImport URLsResource managementOpen guide
Read CommentsExtract cell commentsReview systemsOpen guide
Read Merged CellsDetect merged rangesInvoice templatesOpen guide
Read Hidden Rows/ColumnsInclude or exclude hidden dataAdmin filesOpen guide
Read Date CellsConvert Excel datesAttendance and payrollOpen guide
Read Rich TextPreserve formattingDocumentationOpen guide
Validation & imports17 capabilities
FeatureWhat it doesTypical useGuide
Validate DataRequired fields and formatsData import validationOpen guide
Skip Empty RowsIgnore blank rowsCleaner importsOpen guide
Detect Duplicate RecordsCompare before insertCustomer importsOpen guide
Batch Database InsertInsert thousands of rowsERP and CRMOpen guide
Update Existing RecordsMatch by IDProduct updatesOpen guide
Import UsersEmployee or customer uploadHR systemsOpen guide
Import ProductsSKU and pricingEcommerceOpen guide
Import OrdersSales recordsERPOpen guide
Import InventoryStock managementWarehouseOpen guide
Import StudentsSchool managementEducationOpen guide
Import AttendanceEmployee or student attendanceHR and schoolsOpen guide
Import MarksExam resultsEducationOpen guide
Import ContactsCRM importSalesOpen guide
Import LocationsGPS or city dataMapsOpen guide
Import Blog PostsCMS migrationWebsitesOpen guide
Import Images with PathsMedia library valuesEcommerceOpen guide
Import CategoriesProduct hierarchyEcommerceOpen guide
Security & scale10 capabilities
FeatureWhat it doesTypical useGuide
Read Password Protected FilesOpen secured XLSX filesEnterpriseOpen guide
Handle Large FilesStream readingMillions of rowsOpen guide
Progress TrackingShow upload progressBetter UXOpen guide
Error ReportingRow-level errorsUser feedbackOpen guide
LoggingImport historyAuditingOpen guide
Preview Before ImportShow first few rowsUser verificationOpen guide
Mapping ColumnsMap Excel columns to database fieldsFlexible importsOpen guide
Auto Detect HeadersIdentify column namesSmart importsOpen guide
CSV SupportRead and write CSV filesData exchangeOpen guide
TSV SupportRead tab-separated filesLegacy systemsOpen guide
Reports & presentation10 capabilities
FeatureWhat it doesTypical useGuide
Generate TemplatesCreate import templatesUser downloadsOpen guide
Auto Resize ColumnsImprove export readabilityReportingOpen guide
Style ExcelColors, fonts and bordersProfessional reportsOpen guide
Add ChartsGenerate chartsDashboardsOpen guide
Add ImagesAdd a company logoReportsOpen guide
Freeze PanesImprove worksheet usabilityLarge sheetsOpen guide
FiltersAdd worksheet filtersReportsOpen guide
Conditional FormattingHighlight valuesAnalyticsOpen guide
Pivot Table SupportAnalyze dataBusiness intelligenceOpen guide
Password Protect OutputEncrypt and protect reportsFinanceOpen guide
Application workflows10 capabilities
FeatureWhat it doesTypical useGuide
Multiple File ImportImport many Excel filesBatch processingOpen guide
Queue ProcessingBackground importsLarge applicationsOpen guide
AJAX UploadUpload without page reloadModern UIOpen guide
API IntegrationReceive Excel through an APIAutomationOpen guide
Email Generated ExcelSend report attachmentsDaily reportsOpen guide
Scheduled ImportsRun cron-based importsERP synchronizationOpen guide
Scheduled ExportsGenerate daily reportsManagementOpen guide
Data TransformationConvert and normalize valuesETL pipelinesOpen guide
Encoding HandlingDetect and convert encodingsMultilingual appsOpen guide
Unicode SupportSupport all languagesGlobal applicationsOpen guide