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/ )
1113PHPJasper 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
183185We 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',
0 commit comments