NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist
Apache Tika bindings for PHP: extracts text from documents and images (with OCR), metadata and more...
Latest stable
v1.4.1
Last release 1 years ago
04 Oct 2025
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 43 of 43 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
43 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Fixed mode deprecations for nullable parameters on PHP 8.4 (thanks to @Zombaya)
Fixed deprecations for nullable parameters on PHP 8.4 (thanks to @denistorresan)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fixed remote file download (thanks to @denistorresan)
Removed WebClient::setFetcherName() restrictions (thanks to @mpdude)
WebClient::setFetcherName() restrictions (thanks to @mpdude)Added WebClient::setFetcherName() to easily set the fetcher name (thanks to @relthyg)
WebClient::setFetcherName() to easily set the fetcher name (thanks to @relthyg)Allow https:// URLs on web client (closes #32)
Tested up to Apache Tika 1.28.2 and 2.4.0
Removed debug statement when the JSON parse fails
Tested up to Apache Tika 1.28.1 and 2.3.0
Filter response before parsing to fix known issues
Added specific methods to set OCR languages on web client (thanks to @aleksanm)
* Tested up to Apache Tika 1.27
Preliminary support for Apache Tika 2.0
Added Client::setEnvVars() to add environment variables (fixes #28)
Common:
CLI Mode:
Client::setEnvVars() to add environment variables (fixes #28)Added Client::getXHTML() to get a XML compliant output (fixes #27)
CLI mode:
Client::getXHTML() to get a XML compliant output (fixes #27)Client::setJavaArgs() that allows to add arguments for java binaryCLIClient::setEnvVars() to allow users to set its own environment variables (thanks to @gregoriopellegrino)Type declarations and return types
$client->getRecursiveMetadata() returns an array as expectedClient::getSupportedVersions() and Client::isVersionSupported() methods cannot be called staticallyClient::getAvailableDetectors() and Client::getAvailableParsers() returns an array with new formatAdded recursive metadata in command line mode (thanks to @vuthaihoc)
NOTE: this feature was planned to be released with 1.x branch, because has limited funcionality (see #23). The contribution of @vuthaihoc added this to 0.x branch.
* Tested up to Apache Tika 1.24
* Tested up to Apache Tika 1.24
Added _Troubleshooting_ section on README.md
Client::setEncoding() to avoid encoding problems using app modeAdded option to disable append on Client::setCallback() to save memory
Client::setCallback() to save memorySpawn scripts 'autodetects' if module java.se.ee is required
### Changed * Tested up to version 1.21
Added recursive metadata support (thanks to @svaningelgem)
DocumentMetadata (thanks to @svaningelgem)DocumentMetadata (thanks to @svaningelgem)Support to set host and port using an URL (thanks to @mpdude)
Client::prepare() to avoid checks, saving HTTP calls and filesystem accessesClient::prepare() to avoid checks, saving HTTP calls and filesystem accessesTested up to Apache Tika 1.19.1
Added Client::isVersionSupported() method
Client::isVersionSupported() methodClient::getSupportedMIMETypes() methodClient::getAvailableDetectors() methodClient::getAvailableParsers() methodClient::getOption() and Client::getOptions() methods to web clientClient::getTimeout() and Client::getTimeout() methods to web clientRemoved debug check on CLIClient
Added internal downloader for remote files
Allow CURLOPT_HTTPHEADER on cURL options (thanks MatMartigan)
CURLOPT_HTTPHEADER on cURL options (thanks MatMartigan)CLIClient is now compatible with Windows thanks to @caugner (fixes #9)
* Tested up to Apache Tika 1.18
* Tested up to Apache Tika 1.17
Support for getting response in chunks using callbacks on text extraction methods (fixes #6 )
Added support for '--text-main' using Client::getMainText() method
- Tested up to Apache Tika 1.13 - Adjusted PowerPoint samples - Enhanced code coverage
Added spreadsheets and slideshows samples
Client::request() method is now public
Custom cURL options for web client
- Code formatting - Fixed tests
- Added command line mode - Tested up to Apache Tika 1.11
Added OCR and image metadata extraction
First stable release:
First release with support for documents:
First release with support for documents:
One column per quarter.