Skip to content

Instantly share code, notes, and snippets.

View surajsharmadev's full-sized avatar

surajsharmadev

View GitHub Profile
@kasparsd
kasparsd / php-excel-xlsx-xml.php
Last active January 18, 2021 14:13
Generate the most basic Excel XLSX and XML files in PHP, see https://kaspars.net/blog/wordpress/excel-xlsx-xml-php
<?php
/**
* UPDATE: This has been converted into a proper PHP library,
* see https://github.com/kasparsd/mini-sheets-php
*/
// Note: there are some references to WordPress methods and functions
class cf7_export_excel {