@@ -5,7 +5,7 @@ _A PHP Report Generator_
5
5
6
6
[ ![ 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 )
7
7
[ ![ Latest Stable Version] ( https://poser.pugx.org/geekcom/phpjasper/v/stable )] ( https://packagist.org/packages/geekcom/phpjasper )
8
- [ ![ Minimum PHP Version] ( https://img.shields.io/badge/php-%3E%3D% 207.0 -blue.svg?style=flat-square )] ( https://php.net/ )
8
+ [ ![ Minimum PHP Version] ( https://img.shields.io/badge/php-%3E%207.2 -blue.svg?style=flat-square )] ( https://php.net/ )
9
9
[ ![ Total Downloads] ( https://poser.pugx.org/geekcom/phpjasper/downloads )] ( https://packagist.org/packages/geekcom/phpjasper )
10
10
[ ![ License] ( https://poser.pugx.org/geekcom/phpjasper/license )] ( https://packagist.org/packages/geekcom/phpjasper )
11
11
@@ -21,7 +21,6 @@ PHPJasper is the best solution to compile and process JasperReports (.jrxml & .j
21
21
* For PHP versions less than 7.0 see: [ v1.16] ( https://github.com/PHPJasper/phpjasper/releases/tag/v1.16 )
22
22
* [ Here] ( https://github.com/PHPJasper/examples ) are several examples of how to use PHPJasper
23
23
24
-
25
24
### Why PHPJasper?
26
25
27
26
Did you ever had to create a good looking Invoice with a lot of fields for your great web app?
@@ -48,15 +47,17 @@ It is recommended using [Jaspersoft Studio](http://community.jaspersoft.com/proj
48
47
49
48
## Requirements
50
49
51
- * PHP 7.0 or above
50
+ * PHP 7.2 or above
52
51
* Java JDK 1.8
53
52
54
53
## Optional
55
54
56
- * [ Mysql JDBC Driver] ( http://dev.mysql.com/downloads/connector/j/ ) (If you want to use a database)
57
- * [ PostgreSQL JDBC Driver] ( https://jdbc.postgresql.org/download.html ) (If you want to use a database)
58
- * [ Microsoft JDBC Drivers] ( https://www.microsoft.com/en-US/download/details.aspx?id=11774 ) (If you want to use a database)
59
- * [ Jaspersoft Studio] ( http://community.jaspersoft.com/project/jaspersoft-studio ) (to draw and compile your reports)
55
+ * Any ` jdbc ` drivers to generate reports from a database (MySQL, PostgreSQL, MSSQL...), must be copied to a folder ` bin/jasperstarter/jdbc `
56
+ * We ship the [ PostgreSQL] ( https://jdbc.postgresql.org/ ) (42.2.9) in the ` bin/jasperstarter/jdbc ` directory.
57
+ * We ship the [ MySQL connector] ( http://dev.mysql.com/downloads/connector/j/ ) (v5.1.48) in the ` bin/jasperstarter/jdbc ` directory.
58
+ * [ Microsoft JDBC Drivers SQL Server
59
+ ] ( https://docs.microsoft.com/en-us/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-ver15 ) .
60
+ * [ Jaspersoft Studio] ( http://community.jaspersoft.com/project/jaspersoft-studio ) (to draw your reports).
60
61
61
62
## Installation
62
63
@@ -69,7 +70,7 @@ Or in your file'composer.json' add:
69
70
``` json
70
71
{
71
72
"require" : {
72
- "geekcom/phpjasper" : " ^3.1 .0"
73
+ "geekcom/phpjasper" : " ^3.2 .0"
73
74
}
74
75
}
75
76
```
@@ -94,7 +95,7 @@ To execute tests:
94
95
* ` docker exec -it phpjasper ./vendor/bin/phpunit ` or
95
96
* ` docker exec -it phpjasper ./vendor/bin/phpunit --testdox `
96
97
97
- To see coverage of tests execute the file: ` / tests/codeCoverage/html/dashboard .html`
98
+ To see coverage of tests execute the file: ` tests/logs/coverage/index .html `
98
99
99
100
_ Help us writing new tests, make a fork_ :)
100
101
@@ -310,19 +311,6 @@ $jasper->process(
310
311
)->execute();
311
312
```
312
313
313
- ### MySQL
314
-
315
- We ship the [ MySQL connector] ( http://dev.mysql.com/downloads/connector/j/ ) (v5.1.39) in the ` /src/JasperStarter/jdbc/ ` directory.
316
-
317
- ### PostgreSQL
318
-
319
- We ship the [ PostgreSQL] ( https://jdbc.postgresql.org/ ) (v9.4-1203) in the ` /src/JasperStarter/jdbc/ ` directory.
320
-
321
- ### MSSQL
322
-
323
- [ Microsoft JDBC Drivers 6.0, 4.2, 4.1, and 4.0 for SQL Server
324
- ] ( https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774 ) .
325
-
326
314
## Performance
327
315
328
316
Depends on the complexity, amount of data and the resources of your machine (let me know your use case).
0 commit comments