Skip to content

Commit

Permalink
Merge pull request PHPJasper#75 from PHPJasper/develop
Browse files Browse the repository at this point in the history
update docs
  • Loading branch information
geekcom authored Oct 27, 2017
2 parents bb18968 + f5209a8 commit 4171c73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# PHPJasper
_A PHP Report Generator_

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/geekcom/phpjasper/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/geekcom/phpjasper/?branch=master)
[![Latest Stable Version](https://img.shields.io/packagist/v/geekcom/phpjasper.svg?style=flat-square)](https://packagist.org/packages/geekcom/phpjasper)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-blue.svg?style=flat-square)](https://php.net/)
Expand All @@ -11,7 +13,7 @@
PHPJasper is the best solution to compile and process JasperReports (.jrxml & .jasper files) just using PHP, in short: to generate reports using PHP.

**Notes:**
* PHPJasper Can be used regardless of your PHP Framework,
* PHPJasper Can be used regardless of your PHP Framework
* For PHP versions less than 7.1 see: [v1.16](https://github.com/PHPJasper/phpjasper/releases/tag/v1.16)


Expand Down Expand Up @@ -90,7 +92,7 @@ Or in your file'composer.json' add:
```json
{
"require": {
"geekcom/phpjasper": "^2.1"
"geekcom/phpjasper": "^2.4"
}
}
```
Expand Down Expand Up @@ -178,7 +180,7 @@ foreach($output as $parameter_description)
print $parameter_description . '<pre>';
```

### Advanced example - using a database
### Using database to generate reports

We can also specify parameters for connecting to database:

Expand All @@ -194,7 +196,7 @@ $options = [
'locale' => 'en',
'params' => [],
'db_connection' => [
'driver' => 'postgres',
'driver' => 'postgres', //mysql, ....
'username' => 'DB_USERNAME',
'password' => 'DB_PASSWORD',
'host' => 'DB_HOST',
Expand Down
2 changes: 2 additions & 0 deletions docs/pt_BR/LEIA-ME_pt_BR.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# PHPJasper

_Gerador de relatórios PHP_

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/geekcom/phpjasper/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/geekcom/phpjasper/?branch=master)
[![Latest Stable Version](https://poser.pugx.org/geekcom/phpjasper/v/stable)](https://packagist.org/packages/geekcom/phpjasper)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-blue.svg?style=flat-square)](https://php.net/)
Expand Down

0 comments on commit 4171c73

Please sign in to comment.