thephpleague/csv

CSV data manipulation made easy in PHP

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 35 minutes ago
Added to GitGenius on September 20th, 2026
Created on December 2nd, 2013
Open Issues & Pull Requests: 2 (+0)
GitHub issues: Enabled
Number of forks: 354
Total Stargazers: 3,483 (+0)
Total Subscribers: 54 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 736 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • version 9.0 (15)
  • question (8)
  • documentation (6)
  • enhancement (6)
  • bug (4)
  • easy-pick (4)
  • wontfix (4)
  • discussion (3)

Most active issues this week

Detailed Description

CSV is a PHP library for parsing, writing, and filtering CSV data.

The library addresses the need to handle CSV documents efficiently in PHP while keeping the codebase lightweight. It leverages PHP's native features to provide memory-efficient reading and writing operations. The tool offers flexible query capabilities, array-to-object mapping, and the ability to transform CSV documents into JSON, XML, or HTML formats. It integrates with PHP's stream filtering capabilities to extend functionality.

Developers should choose this library if they need straightforward CSV manipulation without external dependencies or framework coupling. It suits projects ranging from simple CSV imports to more complex data transformation pipelines. The library requires the ext-filter extension and maintains broad PHP version compatibility across multiple release lines.

The project maintains a comprehensive test suite using PHPUnit alongside coding style compliance checks with PHP CS Fixer and static analysis with PHPStan. The library includes deprecation warnings for PHP 8.4 and 8.6 to help users adapt to upcoming PHP changes affecting CSV handling. Documentation is complete and publicly available, and the project explicitly welcomes contributions with a defined code of conduct.