vaites/php-apache-tika
PHP bindings for Apache Tika that extract text, HTML, and metadata from documents, images, and other formats. Run the JAR via CLI or use the faster Tika server mode over HTTP. Supports local and remote resources, OCR, and Apache Tika 1.15+.
For executives: This package lets us add document intelligence to the product—search, metadata, and text extraction across common business formats—using Apache Tika, a proven open-source extraction engine. It reduces build cost versus writing parsers ourselves and avoids per-document cloud fees. The trade-off is operational: we must run and secure a Java-based extraction service. License is MIT, and the binding had a release in October 2025, but community adoption is small, so we should wrap it behind an internal interface and validate the maintenance risk.
For engineering: It is a PHP client for Apache Tika with two modes: CLI JAR execution and HTTP server mode. Use server mode for throughput—roughly 5x faster—and isolate Tika as an internal service with strict upload limits, timeouts, sandboxing, and observability. Keep extraction behind an interface so we can swap in cloud OCR/Document AI for scanned or advanced cases. Tika gives broad format coverage and metadata, not OCR or semantic understanding; pair it with OCR and AI services where needed.
How can I help you explore Laravel packages today?