Skip to content

Commit 5d40d4b

Browse files
authored
Update README.md
1 parent 5158ada commit 5d40d4b

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
[![License](https://poser.pugx.org/geekcom/phpjasper/license)](https://packagist.org/packages/geekcom/phpjasper)
88
[![Bitcoin Donations](https://img.shields.io/badge/bitcoin-donation-orange.svg)](https://blockchain.info/address/1LqwqcMfNuNzq6S671z1HjM61MpBuFCGqg)
99

10-
###Docs
10+
### Docs
1111
[![Language-pt_BR](https://img.shields.io/badge/pt__BR-100%25-green.svg)](https://github.com/geekcom/phpjasper/blob/master/docs/pt_BR/LEIA-ME_pt_BR.md)
1212

13-
###About
13+
### About
1414
This package is the solution to compile and process JasperReports (.jrxml & .jasper files) just using PHP.
1515

1616
**Note:** PHPJasper Can be used regardless of your PHP Framework
@@ -24,15 +24,15 @@ Do not forget to grant permission 777 for the directory
2424

2525
Meet the **[pyreport](https://github.com/jadsonbr/pyreport)**
2626

27-
###Why PHPJasper?
27+
### Why PHPJasper?
2828

2929
Did you ever had to create a good looking Invoice with a lot of fields for your great web app?
3030

3131
I had to, and the solutions out there were not perfect. Generating *HTML* + *CSS* to make a *PDF*? That doesn't make any sense! :)
3232

3333
Then I found **JasperReports** the best open source solution for reporting.
3434

35-
###What can I do with this?
35+
### What can I do with this?
3636

3737
Well, everything. JasperReports is a powerful tool for **reporting** and **BI**.
3838

@@ -50,19 +50,19 @@ It is recommended using [Jaspersoft Studio](http://community.jaspersoft.com/proj
5050

5151
Package to generate reports with [JasperReports 6.3.1](http://community.jaspersoft.com/project/jaspersoft-studio/releases) library through [JasperStarter v3](http://jasperstarter.sourceforge.net/) command-line tool.
5252

53-
##Requirements
53+
## Requirements
5454

5555
* Java JDK 1.8
5656
* PHP [exec()](http://php.net/manual/function.exec.php) function
5757

58-
##Optional
58+
## Optional
5959

6060
* [Mysql JDBC Driver](http://dev.mysql.com/downloads/connector/j/) (If you want to use a database)
6161
* [PostgreSQL JDBC Driver](https://jdbc.postgresql.org/download.html) (If you want to use a database)
6262
* [Microsoft JDBC Drivers](https://www.microsoft.com/en-US/download/details.aspx?id=11774) (If you want to use a database)
6363
* [Jaspersoft Studio](http://community.jaspersoft.com/project/jaspersoft-studio) (to draw and compile your reports)
6464

65-
###Java(JDK)
65+
### Java(JDK)
6666

6767
Check if you already have Java installed:
6868

@@ -89,7 +89,7 @@ Now run the `javac -version` again and check if the output is ok.
8989

9090
---------------------------------------------------------------------------------------------------------------------------
9191

92-
##Installation
92+
## Installation
9393

9494
Install [Composer](http://getcomposer.org) if you don't have it.
9595
```
@@ -113,9 +113,9 @@ and thats it.
113113

114114
----------------------------------------------------------------------------------------------------------------------------
115115

116-
##Examples
116+
## Examples
117117

118-
###The *Hello World* example.
118+
### The *Hello World* example.
119119

120120
Go to the examples directory in the root of the repository (`vendor/geekcom/phpjasper/examples`).
121121
Open the `hello_world.jrxml` file with Jaspersoft Studio or with your favorite text editor and take a look at the source code.
@@ -140,7 +140,7 @@ $jasper->compile($input)->execute();
140140

141141
This commando will compile the `hello_world.jrxml` source file to a `hello_world.jasper` file.
142142

143-
####Processing
143+
#### Processing
144144

145145
Now lets process the report that we compile before:
146146

@@ -169,7 +169,7 @@ Now check the examples folder! :) Great right? You now have 2 files, `hello_worl
169169

170170
Check the *methods* `compile` and `process` in `src/JasperPHP.php` for more details
171171

172-
####Listing Parameters
172+
#### Listing Parameters
173173

174174
Querying the jasper file to examine parameters available in the given jasper report file:
175175

@@ -188,7 +188,7 @@ foreach($output as $parameter_description)
188188
print $parameter_description . '<pre>';
189189
```
190190

191-
###Advanced example - using a database
191+
### Advanced example - using a database
192192

193193
We can also specify parameters for connecting to database:
194194

@@ -227,7 +227,7 @@ $jasper->process(
227227

228228
For a complete list of locales see [Supported Locales](http://www.oracle.com/technetwork/java/javase/java8locales-2095355.html)
229229

230-
###Using MSSQL DataBase
230+
### Using MSSQL DataBase
231231

232232
```php
233233
require __DIR__ . '/vendor/autoload.php';
@@ -263,7 +263,7 @@ $jasper->process(
263263
)->execute();
264264
```
265265

266-
###Reports from a XML
266+
### Reports from a XML
267267

268268
```php
269269
require __DIR__ . '/vendor/autoload.php';
@@ -293,7 +293,7 @@ $jasper->process(
293293
)->execute();
294294
```
295295

296-
###Reports from a JSON
296+
### Reports from a JSON
297297

298298
```php
299299
require __DIR__ . '/vendor/autoload.php';
@@ -324,41 +324,41 @@ $jasper->process(
324324
)->execute();
325325
```
326326

327-
###MySQL
327+
### MySQL
328328

329329
We ship the [MySQL connector](http://dev.mysql.com/downloads/connector/j/) (v5.1.39) in the `/src/JasperStarter/jdbc/` directory.
330330

331-
###PostgreSQL
331+
### PostgreSQL
332332

333333
We ship the [PostgreSQL](https://jdbc.postgresql.org/) (v9.4-1203) in the `/src/JasperStarter/jdbc/` directory.
334334

335-
###MSSQL
335+
### MSSQL
336336

337337
[Microsoft JDBC Drivers 6.0, 4.2, 4.1, and 4.0 for SQL Server
338338
](https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774).
339339

340-
##Performance
340+
## Performance
341341

342342
Depends on the complexity, amount of data and the resources of your machine (let me know your use case).
343343

344344
I have a report that generates a *Invoice* with a DB connection, images and multiple pages and it takes about **3/4 seconds** to process. I suggest that you use a worker to generate the reports in the background.
345345

346-
##Thanks
346+
## Thanks
347347

348348
[Cenote GmbH](http://www.cenote.de/) for the [JasperStarter](http://jasperstarter.sourceforge.net/) tool.
349349

350350
[JetBrains](https://www.jetbrains.com/) for the [PhpStorm](https://www.jetbrains.com/phpstorm/) and all great tools.
351351

352352

353-
##[Questions?](https://github.com/geekcom/phpjasper/issues)
353+
## [Questions?](https://github.com/geekcom/phpjasper/issues)
354354

355355
Open a new [Issue](https://github.com/geekcom/phpjasper/issues) or look for a closed issue
356356

357357

358-
##[License](https://github.com/geekcom/phpjasper/blob/master/LICENSE)
358+
## [License](https://github.com/geekcom/phpjasper/blob/master/LICENSE)
359359

360360
MIT
361361

362-
##[Contribute](https://github.com/geekcom/phpjasper/blob/master/CONTRIBUTING.md)
362+
## [Contribute](https://github.com/geekcom/phpjasper/blob/master/CONTRIBUTING.md)
363363

364-
Contribute to the community PHP, make a fork!!
364+
Contribute to the community PHP, make a fork!!

0 commit comments

Comments
 (0)