Best Excel creation lib for PHP

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

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • PHPExcel

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

  • php-export-data

    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

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • 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

    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