Answer the question
In order to leave comments, you need to log in
What is suitable for creating Excel spreadsheets?
Hello! I have an extremely small and lightweight PHP project, but don't know what to use to create tables. Somewhere without composer'a in any way, somewhere you need PEAR. Because I am not a backend developer, so I don’t really know any tools, but I need something simple that can be thrown into the project, connected and started using the built-in methods. Please advise.
Answer the question
In order to leave comments, you need to log in
If you need to export to a format that will open excel, while getting the fastest code - export to csv
https://www.php.net/manual/en/function.fputcsv.php
If you need to export to xslx, then from the supported solutions, you can look at this
https://github.com/shuchkin/simplexlsxgen
From solutions that are popular but have not been updated for a long time and, in fact, have already been deprecated
https://github.com/PHPOffice/PHPExcel
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question