Best Excel creation lib for PHP

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • PHPExcel

  • https://github.com/PHPOffice/PHPExcel is unmaintained / archived

  • php-export-data

    Discontinued PHP class to export data in CSV, TSV, or Excel XML (aka SpreadsheeML) format to a file or directly to the browser

  • https://github.com/elidickinson/php-export-data is unmaintained / archived too

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • PhpSpreadsheet

    A pure PHP library for reading and writing spreadsheet files

  • I think https://github.com/PHPOffice/PhpSpreadsheet is what you're looking for. I've been using it for many years for an export generator, well maintained and working nicely.

  • Spout

    Discontinued Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

  • We were testing PHP Spreadsheet and Spout (https://github.com/box/spout). We chose Spout because of its low memory footprint. It is using streams so it is much lighter than PHP Spreadsheet, although it is missing quite a bit of features that PHP Spreadsheet has.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts