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.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b33228-2b3b8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b33228-2b3b8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?