Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hemant-mann/phpexport

Export data to .txt, .csv, .docx, .odt, .xml format using this library
https://github.com/hemant-mann/phpexport

csv data-export doc mysql-export php xml

Last synced: 6 days ago
JSON representation

Export data to .txt, .csv, .docx, .odt, .xml format using this library

Awesome Lists containing this project

README

        

# PHPExport #

## Description
It is library built in PHP to export data from the database to MSWord, ODT, and XML files.
The process to make docx and odt files is tricky but with a little help it can be understood

### Setup
```bash
git clone https://github.com/Hemant-Mann/PHPExport.git

# Linux users you need to install 'php5-xsl' extension to export data in WORD Files
sudo apt-get install php5-xsl # For Ubuntu Users
```
- Import the examples/includes/products.sql into your local database.
- Setup credentials in examples/includes/db.php
- Below is a test code. Run in browser. (More usage see 'examples')

```php
getMessage();
}

```