PhpSpreadsheet
libreoffice-headless
Our great sponsors
PhpSpreadsheet | libreoffice-headless | |
---|---|---|
9 | 2 | |
11,113 | 5 | |
1.4% | - | |
9.7 | 10.0 | |
2 days ago | about 5 years ago | |
PHP | Shell | |
MIT License | GNU General Public License v3.0 or later |
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.
PhpSpreadsheet
-
Excel/PDF Report Generation in Laravel
a full list of sizes is in this file, https://github.com/PHPOffice/PhpSpreadsheet/blob/master/src/PhpSpreadsheet/Worksheet/PageSetup.php
-
Graphs in Excel generated from Laravel
You can use phpspreadsheet. It's the library that LaravelExcel relies on. Here's samples from their git repo: https://github.com/PHPOffice/PhpSpreadsheet/blob/master/samples/Chart/33_Chart_create_pie.php
-
Best Excel lib for PHP
Well, that depends on your experience and how fast you learn new things. I don't think it's very complicated, and there is documentation and a lot of examples. So, if you follow those, it should work nicely.
-
Best Excel creation lib for PHP
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.
-
Laravel development & production ready Docker build - help needed
But xlsx to csv sounds like a really simple task. You should consider if you could do the task using PHP, for example the PHPSpreadsheet package or it's wrapper Laravel-Excel.
-
Laravel 8 Export Data as Excel File with Example
And be ready to dive into PhpSpreadsheet package because anything beyond simple export need custom config of this package
-
What's the best practice in modifying/inserting values in specific cells of an existing excel file?
The docs directory on their github repository contains a lot of examples on how to read, modify and save spreadsheet files. They also have some documentation on their website.
You may want to look into this library: https://github.com/PHPOffice/PhpSpreadsheet
-
Most Useful GitHub repositories for Laravel
PhpSpreadsheet is a library written in pure PHP and offers a set of classes that allow you to read and write various spreadsheet file formats such as Excel and LibreOffice Calc.
libreoffice-headless
-
Laravel development & production ready Docker build - help needed
I'd use PHPWord then, but, if it's not enough, surely go ahead and have a headless libreoffice server like here. You can probably set up your own dockerfile following the examples, as the existing projects seem a bit outdated.
I'm not sure about the particular container. It seems to expose a port, but it doesn't seem to launch libreoffice itself. I think it's only intended for manual use from the host system. I noticed that there are also other images that seem to run libreoffice as a server and expose it's port, e.g. https://github.com/lcrea/libreoffice-headless
What are some alternatives?
PHPExcel
Spout - Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
ExcelAnt - Simple yet powerful Excel manipulation library for PHP 5.4+
PHPWord - A pure PHP library for reading and writing word processing documents
PHPPowerPoint - A pure PHP library for reading and writing presentations documents
gotenberg - A Docker-powered stateless API for PDF files.
laravel-docker - quickstart for production ready Laravel in docker
nginx-proxy - Automated nginx proxy for Docker containers using docker-gen
docker-image-php-nginx - Configurable Docker image for PHP-FPM with Nginx for several frameworks. Includes SQLite, Composer, Xdebug, Blackfire, NodeJS, database command-line clients and popular PHP extensions.