Does PHP have a library that can edit excel files?

by editing a template file such as file.xls, there is a lot of data that needs to be filled in by php, and then other text or tables may have styles, such as red words, large words, table borders, etc. (I have tried to export csv, but feel that this format is pure text and does not retain the style in the original template)

replace some special identifiers in this file, such as {{$date}}, to generate a new xls pop-up download

currently used Laravel Excel , you can import or create your own data, and export a new excel, without finding the ability to edit imported files.
have any brothers or sisters come into contact with this piece and provide a library with such a function? thank you

Mar.01,2021

PHPExcel has DEPRECATED
you can use PhpSpreadsheet . This library supports Excel


Please use phpexcel


composer to add dependencies phpoffice/phpexcel


Welcome to SpreadJS: https://demo.grapecity.com.cn.

.
Menu