Download the PHP package hboie/jasper-report-bundle without Composer

On this page you can find all versions of the php package hboie/jasper-report-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package jasper-report-bundle

JasperReportBundle

The JasperReportBundle requires jaspersoft/rest-client and provides an JasperReport-Client as service in the Symfony service container.

Installation with Symfony Flex (4 / 5)
Basic Usage in Symfony 4 / 5
Installation with Symfony 2 / 3
Basic Usage in Symfony 2 / 3
Search Resource Command
Export Resource Command
Import Resource Command
Copying Resources between different Servers
Additional Configuration Options

Installation with Symfony Flex (4 / 5)

1 Add bundle to composer.json:

2 The Bundle will be registred automatically and by executing the recipe the configuration file jasper-report.yaml will be created in the config/packages directory and the corresponding entries in the .env file will be made

3 Change the standard setting in the file jasper-report.yaml

and in the .env file

Basic Usage in Symfony 4 / 5

The bundle supports autowiring, so you can access the report-service directly in your controller, e.g.

Installation with Symfony 2 / 3

1 Add bundle to composer.json:

2 Register bundle in app/AppKernel.php:

3 Add parameter to app/config/config.yml

4 Add a dummy configuration in app/config/paramters.yml.dist

5 Add your own configuration in app/config/paramters.yml

Basic Usage in Symfony 2 / 3

You can now access the Client object via the Symfony service jasperreport.client:

or directly access the ReportService using the Symfony service jasperreport.reportservice:

So a controller giving back a pdf-report would look like

Search Resource Command

With the jasper:repository:search you can search resources on the JaserReport server

Criteria: search criteria
Detail: show details (optional)
If no detail-value is given, only the uri of the resources will be listed. If an detail value greater than 0 is given, full data will be displayed.

Export Resource Command

With the jasper:export:resource command, a given resource will be exported from the JasperServer and downloaded to an zip-archive file.

UriOfResource: uri of the resouce that should be downloaded
Filename: filename of the local target file
SkipDependentResources: if set to "true", dependent resource, e.g. the database connection of a report will be skipped.

Import Resource Command

With the jasper:import:resource command, a previously exported resource can be imported to a JasperServer.

Filename: filename of the local import file
IncludebrokenDependencies: if set to "true", for resources with broken dependencies (e.g. exported with the option SkipDependentResources) the import process attempts to import the resource by resolving dependencies with local resources.

Copying Resources between different Servers

You can use the export and import resources commands to copy resources from one server to another, e.g. between different stages of an application. Use the SkipDependentResources option when exporting a resource and the IncludebrokenDependencies option when importing it on the second server to avoid that the database connection is overwritten on the target server.

Take care that the export and import keys on both servers are adjusted. Read https://community.jaspersoft.com/documentation/tibco-jasperreports-server-security-guide/v7/using-custom-keys for further information on how to use customs keys.

Create key store

Copy store to JasperServer's buildomatic directory

Go to the buildomatic directory as root user and import key to JasperServer

Restart the JasperServer application or reboot the server

Additional Configuration Options

timeout: timeout for REST-request (in seconds)


All versions of jasper-report-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.2
ext-zip Version *
symfony/framework-bundle Version ~2.6|~3.0|~4.0|~5.0
symfony/filesystem Version >=2.6
hboie/jasper-rest-client Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hboie/jasper-report-bundle contains the following files

Loading the files please wait ....