Skip to content

SimpleConvert is a library written in pure PHP and providing a set of functions that allow you to export your data into EXCEL (.xls). This library providing you to download (.xls) file and view data in the browser.

License

Tirth886/simpleconvert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleConvert

SimpleConvert is a library written in pure PHP and providing a set of functions that allow you to export your data into EXCEL (.xls). This library providing you to download (.xls) file and view data in the browser.

Installation


Use the package manager composer to install SimpleConvert.

composer require codebreaker/simpleconvert

Usage


require_once './vendor/autoload.php';
$var = (object) [
  "result" => $response, # Fetch Object e.g., $response = $con->query($query); 
];
$convert = new \SimpleConvert\SimpleConvert($var); # Pass Argument Must Be Object

$convert->xls('filename.xls',true); # filename and download

$convert->xls(); # view in browser

Author

License

MIT

About

SimpleConvert is a library written in pure PHP and providing a set of functions that allow you to export your data into EXCEL (.xls). This library providing you to download (.xls) file and view data in the browser.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages