Skip to content

Commit 4171c73

Browse files
authored
Merge pull request #75 from PHPJasper/develop
update docs
2 parents bb18968 + f5209a8 commit 4171c73

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# PHPJasper
2+
_A PHP Report Generator_
3+
24
[![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)
35
[![Latest Stable Version](https://img.shields.io/packagist/v/geekcom/phpjasper.svg?style=flat-square)](https://packagist.org/packages/geekcom/phpjasper)
46
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-blue.svg?style=flat-square)](https://php.net/)
@@ -11,7 +13,7 @@
1113
PHPJasper is the best solution to compile and process JasperReports (.jrxml & .jasper files) just using PHP, in short: to generate reports using PHP.
1214

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

1719

@@ -90,7 +92,7 @@ Or in your file'composer.json' add:
9092
```json
9193
{
9294
"require": {
93-
"geekcom/phpjasper": "^2.1"
95+
"geekcom/phpjasper": "^2.4"
9496
}
9597
}
9698
```
@@ -178,7 +180,7 @@ foreach($output as $parameter_description)
178180
print $parameter_description . '<pre>';
179181
```
180182

181-
### Advanced example - using a database
183+
### Using database to generate reports
182184

183185
We can also specify parameters for connecting to database:
184186

@@ -194,7 +196,7 @@ $options = [
194196
'locale' => 'en',
195197
'params' => [],
196198
'db_connection' => [
197-
'driver' => 'postgres',
199+
'driver' => 'postgres', //mysql, ....
198200
'username' => 'DB_USERNAME',
199201
'password' => 'DB_PASSWORD',
200202
'host' => 'DB_HOST',

docs/pt_BR/LEIA-ME_pt_BR.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# PHPJasper
22

3+
_Gerador de relatórios PHP_
4+
35
[![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)
46
[![Latest Stable Version](https://poser.pugx.org/geekcom/phpjasper/v/stable)](https://packagist.org/packages/geekcom/phpjasper)
57
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-blue.svg?style=flat-square)](https://php.net/)

0 commit comments

Comments
 (0)