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
Tika Bundle

Tika Bundle Laravel Package

funstaff/tika-bundle

A Symfony bundle that integrates Apache Tika to extract text and metadata from documents such as PDFs, Office files, and images. It provides service configuration and a simple way to add content extraction to PHP applications, useful for search indexing and document processing workflows.

View on GitHub
Deep Wiki
Context7

Bundle for Apache Tika wrapper

Frequently asked questions about Tika Bundle
Can I use funstaff/tika-bundle in a Laravel application?
No. funstaff/tika-bundle is a Symfony bundle, not a Laravel package. Its value is Symfony-specific plumbing: bundle registration, DI service definitions, and config.yml wiring around Apache Tika. Laravel has no Symfony bundle kernel or container extension to attach that layer to. For Laravel, build a small service around Apache Tika instead.
What does funstaff/tika-bundle actually do?
It integrates Apache Tika into Symfony applications and provides service configuration for extracting text and metadata from formats such as PDF, DOCX, XLSX, PPTX, HTML, and images. The package itself contributes Symfony wiring, not the extraction engine. Apache Tika performs the actual content detection and parsing.
How do I install funstaff/tika-bundle?
You would install it with Composer inside a Symfony application, enable the bundle in the kernel, and configure it through Symfony config. That installation path does not exist in Laravel. Before attempting it anywhere, check its composer.json constraints against your PHP and Symfony versions.
Does funstaff/tika-bundle support Laravel 10 or Laravel 11?
There is no Laravel support. The package targets Symfony's bundle and dependency injection model, so Laravel 10 and Laravel 11 have no compatible integration point. A Symfony bundle of this vintage may also pin older symfony/* constraints and fail Composer resolution on modern stacks. Avoid --ignore-platform-reqs workarounds that create downstream instability.
What is the best alternative to funstaff/tika-bundle for Laravel?
The practical alternative is a thin Laravel TextExtractionService backed by Guzzle or Symfony HttpClient calling a tika-server endpoint. That typically means a service interface, one HTTP implementation, a service provider binding, and config for endpoint, timeouts, and file-size caps. It is roughly 50 to 100 lines of owned, tested code and avoids carrying Symfony bundle plumbing into Laravel.
How does Apache Tika extract text from PDF, DOCX, and image files?
Apache Tika detects the content type and routes the document to the appropriate parser to return text and metadata. You can run it as a long-running tika-server over HTTP or shell out to tika-app.jar per invocation. For images and scanned PDFs, OCR depends on Tesseract, so you need your own OCR pipeline if that is a requirement.
What are the production requirements for using Apache Tika with Laravel?
Tika requires a JVM in the deployment topology, usually a tika-server container or a per-invocation tika-app.jar process. Plan for JVM memory tuning, request timeouts, file-size limits, concurrency, and Java runtime patching. These are infrastructure and capacity decisions, not Composer decisions, and should be made explicitly.
Is funstaff/tika-bundle actively maintained?
The objective signals are poor: one GitHub star, zero dependents, no visible CI, no release cadence, and a single maintainer. There is no visible security disclosure process or abandonment plan beyond forking. MIT licensing makes forking legally simple, but forking a low-adoption glue package means owning maintenance from day one for little retained value.
How should I test document text extraction in a Laravel app?
Test your own Laravel service rather than the Symfony bundle. Mock the HTTP client for unit tests and run a real tika-server container in integration tests for representative PDF, Office, and HTML fixtures. Cover metadata fields, unsupported formats, timeouts, and size-limit failures.
Does funstaff/tika-bundle handle OCR for scanned PDFs?
The bundle only provides Symfony configuration around Apache Tika, so it does not give you an OCR pipeline. Apache Tika can delegate OCR to Tesseract, but you still need to operate and test that dependency. If OCR is on your roadmap, design the extraction and OCR workflow yourself regardless of which wrapper you consider.
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.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect