Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Jasper Client

Jasper Client Laravel Package

mesd/jasper-client

mesd/jasper-client is a Laravel/PHP client for JasperReports that lets you run reports, pass parameters, and export PDF, HTML, XLS, and other formats from your application through a simple, configurable API.

View on GitHub
Deep Wiki
Context7

Jasper Reports Server REST API Client for php

Frequently asked questions about Jasper Client
Does mesd/jasper-client work with Laravel 11 and PHP 8.2?
No. The last release was November 2014 and the code targets PHP 5.4/5.5-era conventions such as PSR-0 autoloading and Guzzle 3.x/4.x constraints, with no strict types or PHP 8 support. Composer resolution against a current Laravel app running Guzzle 7 on PHP 8.2+ will almost certainly conflict. Expect to fork, modernize, or reimplement the few calls you actually need.
How do I install mesd/jasper-client in a Laravel application?
You can run composer require mesd/jasper-client, but expect dependency conflicts with modern Laravel and Guzzle versions. It is a plain library: there is no service provider, no config publish, and no facade, so you must wire configuration and instantiation yourself. Most teams treat the source as reference material rather than installing it.
Is mesd/jasper-client still maintained?
No. The repository has had no release since November 2014, roughly one star and zero dependents, and no active maintainer. There are no security patches, compatibility fixes, or CI pipeline. Every future PHP, Laravel, or Guzzle upgrade becomes your responsibility.
What license is mesd/jasper-client released under?
The license is unverified and GitHub reports it as NOASSERTION, meaning no recognized license file could be detected. An ambiguous license in a commercial codebase is a stop-ship risk. Complete a legal review before vendoring or shipping the code.
Which JasperReports Server versions and REST API versions does mesd/jasper-client support?
It targets v1-era JasperReports Server REST semantics, matching what existed around 2014. There is no documented API-version matrix and no meaningful test suite proving behavior against current JRS releases. Confirm your server version, REST endpoint (v1 versus v2), authentication mode, and content-type handling before relying on it.
What authentication methods does mesd/jasper-client support?
The client is built around Basic authentication against the JasperReports Server REST API, consistent with 2014-era JRS deployments. Session-token flows, SSO, and SAML are not covered. If your JRS uses anything beyond Basic auth, you will need to extend or replace the HTTP layer.
How do I run a Jasper report with parameters and export PDF or XLS using this client?
Typically you configure the server URL and credentials, call the client's report execution method with your parameter array, and receive the generated binary stream in the requested export format such as PDF, HTML, or XLS. Method names and format strings follow 2014-era JRS conventions, so verify them against your server. Wrap the call behind your own interface so the transport can be swapped later.
What are the alternatives to mesd/jasper-client for JasperReports in Laravel?
Common options are cossou/jasperphp for a maintained PHP client, or a thin first-party wrapper over Laravel's Http client (Guzzle 7 under the hood) that handles authenticate, list resources, run report with parameters, and stream output. Some teams skip JRS entirely for in-app PDF generation or another BI tier such as Metabase. Choose based on whether you need schedule-and-fetch reporting or broader BI integration.
Can I fork and modernize mesd/jasper-client for PHP 8?
Yes, and it is reasonable if the client encodes non-obvious JRS quirks worth preserving. Vendor the code, convert PSR-0 to PSR-4, replace the Guzzle 3/4 usage with Guzzle 7 or Laravel's Http client, add PHP 8 types, and write contract tests against a JRS container. Budget for ongoing ownership, because you become the maintainer.
Is mesd/jasper-client safe to use in production for reports containing PII or financial data?
Not without significant mitigation. The code is unmaintained, the license is unverified, and report payloads often contain PII or financial data, so TLS handling, credential storage, and error logging all need an explicit audit. The safer path is a small first-party adapter behind a ReportRenderer interface, with contract tests and a queue for long-running reports.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment