Spout
Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way (by box)
CSV
CSV data manipulation made easy in PHP (by thephpleague)
Our great sponsors
Spout | CSV | |
---|---|---|
8 | 7 | |
4,116 | 3,277 | |
- | 0.9% | |
6.1 | 9.2 | |
almost 2 years ago | 12 days ago | |
PHP | PHP | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Spout
Posts with mentions or reviews of Spout.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-28.
-
How to read a csv file in PHP?
"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
- Import data from excel file to laravel
-
Best Excel creation lib for PHP
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.
-
Creating multi-worksheet Excel files with Simple Excel
The Simple Excel package uses the box/spout package under the hood. In the readme it states that you can get to the underlying writer using ->getWriter().
-
PHP libraries and tools
box/spout: Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
-
What's the best practice in modifying/inserting values in specific cells of an existing excel file?
If you don't have a lot of formatting requirements beyond just the placement of the data in the correct fields, I really enjoy Box/Spout (https://opensource.box.com/spout/), and they have a way to install it without composer.
-
Packing for importing/exporting csv files
I've also had good experiences with https://github.com/box/spout
-
How to test CSV in Drupal without losing your mind
to add to this, this library is really good when wanting to parse CSV files https://github.com/box/spout
CSV
Posts with mentions or reviews of CSV.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-27.
-
CSV importer with field mapping
I'd recommend https://packagist.org/packages/league/csv. You can find docs/examples here https://csv.thephpleague.com/.
-
How to query a CSV input in PHP as if it was a database table?
Take a look at https://csv.thephpleague.com/. This will make it easy to read in rows using a for loop and insert them into a database.
-
Need help in processing a CSV file with around a million lines.
Either use something like league/csv or use fgetcsv directly.
-
How to read a csv file in PHP?
I suggest https://csv.thephpleague.com/ as a replacement for reading CSV files.
- Cara Upload Banyak Data Sekaligus Dengan Laravel
- Importing .csv data to website.
-
Packing for importing/exporting csv files
https://github.com/thephpleague/csv is probably the most widely used.
What are some alternatives?
When comparing Spout and CSV you can also consider the following projects:
PhpSpreadsheet - A pure PHP library for reading and writing spreadsheet files
Flysystem - Abstraction for local and remote filesystems
PHPExcel
Gaufrette - PHP library that provides a filesystem abstraction layer − will be a feast for your files!
fast-excel - 🦉 Fast Excel import/export for Laravel
Apache MIME Types - Apache MIME Types
local-php-security-checker - PHP security vulnerabilities checker
Lurker - Resource Tracking
WordPress Packagist - WordPress Packagist — manage your plugins with Composer
Hoa Mime - The Hoa\Mime library.
GrumPHP - A PHP code-quality tool
Ferret - Mime detection library