[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8502":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":33,"discoverSource":34},8502,"csv","thephpleague\u002Fcsv","thephpleague","CSV data manipulation made easy in PHP","https:\u002F\u002Fcsv.thephpleague.com",null,"PHP",3481,347,54,2,0,1,5,29.62,"MIT License",false,"master",true,[5,25,26,27,28,29],"csv-converter","csv-document","csv-filter","csv-query","php","2026-06-12 02:01:54","# CSV\n\n[![Latest Version](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002Fthephpleague\u002Fcsv.svg?style=flat-square)](https:\u002F\u002Fgithub.com\u002Fthephpleague\u002Fcsv\u002Freleases)\n[![Software License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n[![Build](https:\u002F\u002Fgithub.com\u002Fthephpleague\u002Fcsv\u002Fworkflows\u002Fbuild\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fthephpleague\u002Fcsv\u002Factions?query=workflow%3A%22build%22)\n[![Total Downloads](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fdt\u002Fleague\u002Fcsv.svg?style=flat-square)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fleague\u002Fcsv)\n\nCsv is a library to ease parsing, writing and filtering CSV in PHP. \nThe library goal is to be powerful while remaining lightweight,\nby utilizing PHP native features whenever possible.\n\n## Highlights\n\n- Straightforward API\n- Read from and Write to CSV documents in a memory efficient and scalable way\n- Flexible and powerful query features and array to object mapping.\n- Transform CSV documents into popular format (`JSON`, `XML` or `HTML`)\n- Support PHP stream filtering capabilities\n- Fully documented\n- Fully unit tested\n- Framework-agnostic\n\n## Documentation\n\nFull documentation can be found at [csv.thephpleague.com](https:\u002F\u002Fcsv.thephpleague.com).\n\n## System Requirements\n\nYou need the `ext-filter` extension to use `Csv` and the latest stable version of PHP is recommended.\n\nPlease find below the PHP support for `Csv` version 9.\n\n| Min. Library Version | Min. PHP Version | Max. Supported PHP Version |\n|----------------------|------------------|----------------------------|\n| 9.0.0                | PHP 7.0.10       | PHP 7.1.x                  |\n| 9.1.2                | PHP 7.0.10       | PHP 7.2.x                  |\n| 9.2.0                | PHP 7.0.10       | PHP 7.4.x                  |\n| 9.6.0                | PHP 7.2.5        | PHP 7.4.x                  |\n| 9.6.2                | PHP 7.2.5        | PHP 8.0.x                  |\n| 9.7.0                | PHP 7.3.0        | PHP 8.0.x                  |\n| 9.7.3                | PHP 7.3.0        | PHP 8.1.x                  |\n| 9.8.0                | PHP 7.4.0        | PHP 8.1.x                  |\n| 9.9.0                | PHP 8.1.2        | PHP 8.3.x                  |\n| 9.16.0               | PHP 8.1.2        | PHP 8.x                    |\n\n## Install\n\nInstall `Csv` using Composer.\n\n```bash\ncomposer require league\u002Fcsv:^9.0\n```\n\n## Configuration\n\n> [!WARNING]\n> **Starting with PHP8.4 Deprecation notices will be trigger if you do not explicitly set the escape parameter.**\n> see [Deprecation for PHP8.4](https:\u002F\u002Fwiki.php.net\u002Frfc\u002Fdeprecations_php_8_4#deprecate_proprietary_csv_escaping_mechanism) and [CSV and PHP8.4](https:\u002F\u002Fnyamsprod.com\u002Fblog\u002Fcsv-and-php8-4\u002F)\n\n> [!TIP]\n> If your CSV document was created or is read on a **Legacy Macintosh computer**, add the following lines before \nusing the library to help [PHP detect line ending](http:\u002F\u002Fphp.net\u002Fmanual\u002Fen\u002Ffunction.fgetcsv.php#refsect1-function.fgetcsv-returnvalues).\n\n```php\nif (!ini_get('auto_detect_line_endings')) {\n    ini_set('auto_detect_line_endings', '1');\n}\n```\n\n> [!WARNING]\n> **The ini setting is deprecated since PHP version 8.1 and will be removed in PHP 9.0**\n\n## Testing\n\nThe library has:\n\n- a [PHPUnit](https:\u002F\u002Fphpunit.de) test suite.\n- a coding style compliance test suite using [PHP CS Fixer](https:\u002F\u002Fcs.symfony.com\u002F).\n- a code analysis compliance test suite using [PHPStan](https:\u002F\u002Fgithub.com\u002Fphpstan\u002Fphpstan).\n\nTo run the tests, run the following command from the project folder.\n\n```bash\ncomposer test\n```\n\n## Contributing\n\nContributions are welcome and will be fully credited. Please see [CONTRIBUTING](.github\u002FCONTRIBUTING.md) and [CONDUCT](.github\u002FCODE_OF_CONDUCT.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email nyamsprod@gmail.com instead of using the issue tracker.\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Credits\n\n- [ignace nyamagana butera](https:\u002F\u002Fgithub.com\u002Fnyamsprod)\n- [All Contributors](https:\u002F\u002Fgithub.com\u002Fthephpleague\u002Fcsv\u002Fgraphs\u002Fcontributors)\n\n## License\n\nThe MIT License (MIT). Please see [LICENSE](LICENSE) for more information.\n","thephpleague\u002Fcsv 是一个用于简化 PHP 中 CSV 数据操作的库。它提供了直观的 API，支持高效且可扩展地读写 CSV 文件，并具备强大的查询功能和数组到对象映射能力。此外，该库还支持将 CSV 文档转换为 JSON、XML 或 HTML 等流行格式，并充分利用了 PHP 的流过滤功能。thephpleague\u002Fcsv 适用于需要处理大量 CSV 数据的应用场景，如数据导入导出、报表生成等，且其设计独立于任何框架，易于集成到现有项目中。","2026-06-11 03:18:20","top_language"]