A client for the JasperReports Server REST API

v1.0 2020-10-12 12:14 UTC

This package is auto-updated.

Last update: 2021-09-12 14:31:36 UTC


This is a copy of Jaspersoft/jrs-rest-php-client with small enhancements.


Using this library you can make requests and interact with the Jasper Reports Server through the REST API in native PHP. This allows you to more easily embed data from your report server, or perform administrative tasks on the server using PHP.


To use this client, you will need:

  • JasperReports Server (version >= 5.2)
  • PHP (version >= 5.3, with cURL extension)
  • Composer dependency manager (Optional, but recommended)


Add the following to your composer.json file for your project, or run php composer.phar reqiure jaspersoft/rest-client dev-master in the directory of your project

    "require": {
	    "hboie/jasper-rest-client": "*"

Or alternatively, download this package from github, and run php composer.phar install in the directory containing composer.json to generate the autoloader, then require the autoloader using

require_once "vendor/autoload.php"

Additionally, a distributed autoloader is included if oyu want to simply include it in an existing project, or do not want to bother with Composer.

require_once "autoload.dist.php"

Security Notice

This package uses BASIC authentication to identify itself with the server. This package should only be used over a trusted connection between your report server and your web server.


The tests contained in this package are integration tests and are not intended to be ran on a production server!


Copyright © 2005 - 2014 Jaspersoft Corporation. All rights reserved.

Unless you have purchased a commercial license agreement from Jaspersoft, the following license terms apply:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see