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

Pdf Bundle Laravel Package

ticketpark/pdf-bundle

Ticketpark PDF Bundle integrates PDF generation into Symfony applications, providing configurable services to convert HTML templates into downloadable PDF documents. Install via Composer and generate invoices, tickets, or reports with minimal setup.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Poor for a Laravel codebase. ticketpark/pdf-bundle is a Symfony2 bundle, not a Laravel package. It assumes Symfony full-stack conventions such as bundle registration, DI container extension configuration, kernel bootstrapping, and Symfony configuration trees. Laravel uses service providers, its own container, and a different configuration model. The package can only fit a legacy Symfony 2.x application; it does not fit modern Laravel.
  • Integration feasibility: Low. Last release was April 2015, targeting the PHP 5.x / Symfony2 era. Symfony2 is end-of-life, and modern Laravel requires PHP 8.2+ in current versions. Composer constraints will likely conflict with modern symfony/* components, and even forced installation would not provide Laravel auto-discovery, facades, publishable config, or a supported runtime path. Bridging it would require a fork or adapter, inheriting abandoned code.
  • Technical risk: High. The package has 0 stars, 0 dependents, and no recent releases, which is a strong signal of no production validation or community support. It is an abandoned dependency with unclear security posture, no compatibility guarantees, and likely outdated DocRaptor API assumptions. It also creates vendor lock-in to DocRaptor and requires careful handling of API keys and document data. Using it would add legacy Symfony2 surface area to a Laravel application for no architectural benefit.
  • Key questions: Is the target application actually Laravel, or a legacy Symfony2 app? Which PHP and Laravel versions are in scope? Is DocRaptor already contracted, budgeted, and approved for document data? Can the team call DocRaptor directly through its official SDK or HTTP API instead? What PDF fidelity is required—CSS3, JavaScript, custom fonts, headers/footers, accessibility? Are documents containing PII or regulated data? What is the license, and who would own maintenance if forked? What is the replacement deadline for any legacy usage?

Integration Approach

  • Stack fit: Treat this package as a reference implementation only, not a runtime dependency. For Laravel, implement a small PdfGenerator service around DocRaptor’s HTTP API using Laravel’s HTTP client, configuration, queues, and storage. If DocRaptor is not mandatory, evaluate Laravel-friendly alternatives such as Browsershot/Puppeteer, Gotenberg, or a managed HTML-to-PDF service.
  • Migration path: For a Laravel app, do not install the bundle. Spike a direct DocRaptor integration, port the required HTML/Twig or Blade templates, wrap generation in a queued job, store outputs in S3 or equivalent, and add retries and idempotency. For an existing Symfony2 app, isolate PDF generation behind an internal interface, keep the legacy bundle temporarily, then replace the implementation with a direct client or supported alternative using a strangler pattern.
  • Compatibility: Expect Composer conflicts with modern symfony/* packages, PHP 8+, and Laravel. Symfony2 bundles are not Laravel packages and will not boot cleanly in Laravel’s container. DocRaptor’s current API and PHP client compatibility must be validated independently; the bundle’s 2015 assumptions are not evidence of current compatibility.
  • Sequencing: 1) Inventory PDF use cases, volumes, templates, and fidelity requirements. 2) Confirm DocRaptor contract, data handling, and budget. 3) Run a short spike using DocRaptor’s official API from Laravel. 4) Compare output fidelity against required documents. 5) Implement a Laravel service with config, queueing, retries, logging, and storage. 6) Migrate templates and callers. 7) Remove or freeze the legacy bundle before the next PHP/Laravel upgrade.

Operational Impact

  • Maintenance: Abandoned since 2015. No releases, no security patches, and no evident maintainer responsiveness. If forked, the team owns Symfony2-era code indefinitely. The bus factor is high, and maintenance cost is disproportionate to the package’s narrow PDF-generation purpose.
  • Support: No community signal (0 stars, 0 dependents) and no documented support model. DocRaptor may support its API, but not this bundle. Incident escalation would fall to the internal team, with limited upstream help and sparse documentation.
  • Scaling: Scaling is bounded by DocRaptor’s plan, rate limits, concurrency, latency, and per-document cost. The bundle adds no queueing, batching, caching, or backpressure. High-volume PDF generation should be asynchronous, with retries, timeouts, dead-letter handling, and cost monitoring.
  • Failure modes: DocRaptor outage, quota exhaustion, auth failure, API changes, network timeouts, large HTML or asset payloads, font and JavaScript rendering differences, misconfigured secrets, Composer/runtime incompatibility after PHP upgrades, and silent PDF corruption. Without explicit retry and idempotency logic, duplicate or missing documents are likely under load.
  • Ramp-up: Low code volume but high archaeology. Engineers must understand Symfony2 bundle conventions, DocRaptor’s API, and legacy configuration patterns. Documentation is thin, and examples are likely outdated. A Laravel-native HTTP client and queue-based implementation is faster to onboard and easier to operate. TPM recommendation: do not adopt this package for Laravel; leverage it only as a reference, and budget for a direct DocRaptor integration or a supported alternative.
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package