Skip to content

Commit 106cbd0

Browse files
authored
Update README.md
1 parent bb6c259 commit 106cbd0

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ To install on windows visit the link-> [JDK](http://www.oracle.com/technetwork/p
7676

7777
Now run the `java -version` again and check if the output is ok.
7878

79+
---------------------------------------------------------------------------------------------------------------------------
80+
7981
##Installation
8082

8183
Install [Composer](http://getcomposer.org) if you don't have it.
@@ -98,6 +100,8 @@ And the just run:
98100

99101
and thats it.
100102

103+
----------------------------------------------------------------------------------------------------------------------------
104+
101105
##Examples
102106

103107
###The *Hello World* example.
@@ -218,7 +222,7 @@ For a complete list of locales see [Supported Locales](http://www.oracle.com/tec
218222

219223
###Using JasperPHP with Laravel 5.*
220224

221-
1. Install [Composer](http://getcomposer.org) if you don't have it.
225+
* Install [Composer](http://getcomposer.org) if you don't have it.
222226
```
223227
composer require geekcom/phpjasper
224228
```
@@ -232,19 +236,19 @@ Or in your 'composer.json' file add:
232236
}
233237
```
234238

235-
2. And the just run:
239+
* Just run:
236240

237241
**composer update**
238242

239-
3. Add to your config/app.php providers array:
243+
* Add to your config/app.php providers array:
240244

241245
**JasperPHP\JasperPHPServiceProvider::class,**
242246

243-
4. Create a folder **/report** on **/public directory**
247+
* Create a folder **/report** on **/public directory**
244248

245-
5. Copy the file **hello_world.jrxml** in **/vendor/geekcom/phpjasper/examples** from directory: **/public/report**
249+
* Copy the file **hello_world.jrxml** in **/vendor/geekcom/phpjasper/examples** from directory: **/public/report**
246250

247-
6. Copy and paste the code below to your **route.php** file
251+
* Copy and paste the code below to your **route.php** file
248252

249253
**Note 3:** In laravel 5.3 your routes files it's located on directory /routes
250254

@@ -265,14 +269,15 @@ Route::get('/reports', function () {
265269
});
266270
```
267271

268-
7. Run **php artisan serve**
272+
* Run **php artisan serve**
269273

270-
8. Access **localhost:8000/reports**
274+
* Access **localhost:8000/reports**
271275

272-
9. Check the directory **/public/report**. You now have 3 files, `hello_world.pdf`, `hello_world.rtf` and `hello_world.xml`.
276+
* Check the directory **/public/report**. You now have 3 files, `hello_world.pdf`, `hello_world.rtf` and `hello_world.xml`.
273277

274278
In this example we generate reports pdf, rtf and xml.
275279

280+
276281
###Reports from a xml in PHP/Laravel 5.*
277282

278283
See how easy it is to generate a report with a source an XML file:

0 commit comments

Comments
 (0)