MNB PHPExcelDeveloper Guide
Use cases

PHP Excel Use Cases

Choose a practical spreadsheet workflow and move from a complete example to the exact reading, writing, import, large-file, or migration guide you need.

Updated

LevelAll levelsReading time5 minPackagemnb/mnb-phpexcel or an individual format package

What you will learn

  • Start from the outcome you need rather than an internal class name.
  • Choose a complete workflow before reading detailed API reference pages.
  • Understand which guide to follow next for production implementation.

Choose the spreadsheet outcome#

How every use-case page is organized#

SectionWhat it gives you
GoalThe application outcome and the shortest safe path to it.
Complete exampleA copy-ready script using the full package, with individual XLSX tabs where applicable.
Developer contractReturn type, execution behavior, memory behavior, empty check, and expected exceptions.
Expected outputThe exact PHP or workbook shape the example is designed to produce.
Common mistakesIncorrect patterns and the corrected version.
Production notesLimits, validation, storage, error handling, and operational boundaries.

Use task pages first, API pages second#

Start with a use case to understand the whole workflow. Follow links to reading, writing, import, or reference pages only when you need a deeper option or exact method behavior.