How to read a csv file in PHP?

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

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

    CSV data manipulation made easy in PHP

    I suggest https://csv.thephpleague.com/ as a replacement for reading CSV files.

  • Spout

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

    "This project has been archived and is no longer maintained. No bug fix and no additional features will be added. You won't be able to submit new issues or pull requests, and no additional features will be added" https://github.com/box/spout

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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