Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
91ahmed authored Feb 6, 2023
1 parent fa34448 commit 660ae83
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,18 @@
PHP script to simplify the process of converting database table to excel sheet.

#### Requirements

* PHP 7.0 or higher
* Composer for installation

#### Quick Start

Installation via composer
#### Install
via composer
```
composer require extract/database-to-excel
```

#### Simple Example
#### Example
``` php
// don't forget to import vendor/autoload.php
require('vendor/autoload.php');

use ExtractDatabaseToExcel\TableToExcel;
Expand Down Expand Up @@ -67,4 +66,4 @@ $extract->execute();
```

`execute()`
> This is the last method you must invoke to execute the script and download the Excel file.
> This is the last method you shoulf invoke to execute the script, the method will convert the data and download the excel file.

0 comments on commit 660ae83

Please sign in to comment.