PHPWord
A pure PHP library for reading and writing word processing documents (by PHPOffice)
PhpSpreadsheet
A pure PHP library for reading and writing spreadsheet files (by PHPOffice)
Our great sponsors
PHPWord | PhpSpreadsheet | |
---|---|---|
9 | 17 | |
7,077 | 12,915 | |
0.9% | 1.1% | |
8.3 | 9.5 | |
27 days ago | 4 days ago | |
PHP | PHP | |
GNU General Public License v3.0 or later | 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.
PHPWord
Posts with mentions or reviews of PHPWord.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-27.
-
Reading accents in doc files
I'd say, try another lib, like https://github.com/PHPOffice/PHPWord. I'm brazilian, portuguese also has "special" characters, and I've never had a problem with it.
If the files are in UTF-8 there shouldn't be encoding issues, but I found this encoding issue from 2017 in the github for PHPWord: https://github.com/PHPOffice/PHPWord/issues/1172 which may help.
If you mean this one, it says it supports UTF-8. I'm sure it's true because I've been using their spreadsheet library for years and it's as solid as it gets.
-
Dokument mit Eingabefelder, was mir ein HTML Code ausspuckt. Wo setze ich an?
Eine Beispiel PHP-Library findest du hier.
-
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.
- How to convert pdf, docx,docx files to html5 and render them on the client
PhpSpreadsheet
Posts with mentions or reviews of PhpSpreadsheet.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-25.
- Is there any laravel package to modify existing excel files
- is there a version of datatables or another package for in cell editing
-
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 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.
-
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.
What are some alternatives?
When comparing PHPWord and PhpSpreadsheet you can also consider the following projects:
Spout - Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
PHPExcel
ExcelAnt - Simple yet powerful Excel manipulation library for PHP 5.4+
Dompdf - HTML to PDF converter for PHP
PHPPowerPoint - A pure PHP library for reading and writing presentations documents
Luckysheet - Luckysheet is an online spreadsheet like excel that is powerful, simple to configure, and completely open source.
Report-From-DocX-HTML-To-PDF-Converter - .NET Core library to create custom reports based on Word docx or HTML documents and convert to PDF
mPDF - PHP library generating PDF files from UTF-8 encoded HTML
gotenberg - A developer-friendly API for converting numerous document formats into PDF files, and more!