File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -231,6 +231,7 @@ Or in your 'composer.json' file add:
231231 }
232232}
233233```
234+
2342352 . And the just run:
235236
236237 ** composer update**
@@ -243,13 +244,9 @@ Or in your 'composer.json' file add:
243244
2442455 . Copy the file ** hello_world.jrxml** in ** /vendor/geekcom/phpjasper/examples** from directory: ** /public/report**
245246
246- 6 . Run ** php artisan serve**
247-
248- 7 . Access ** localhost:8000/reports**
247+ 6 . Copy and paste the code below to your ** route.php** file
249248
250- 8 . Check the directory ** /public/report** . You now have 3 files, ` hello_world.pdf ` , ` hello_world.rtf ` and ` hello_world.xml ` .
251-
252- ** Below the code you will use in your route.php**
249+ ** Note 3:** In laravel 5.3 your routes files it's located on directory /routes
253250
254251``` php
255252use JasperPHP\JasperPHP;
@@ -267,8 +264,14 @@ Route::get('/reports', function () {
267264 )->execute();
268265});
269266```
270- In this example we generate reports pdf, rtf and xml.
271267
268+ 7 . Run ** php artisan serve**
269+
270+ 8 . Access ** localhost:8000/reports**
271+
272+ 9 . Check the directory ** /public/report** . You now have 3 files, ` hello_world.pdf ` , ` hello_world.rtf ` and ` hello_world.xml ` .
273+
274+ In this example we generate reports pdf, rtf and xml.
272275
273276###Reports from a xml in PHP/Laravel 5.*
274277
You can’t perform that action at this time.
0 commit comments