PHPackages                             marcelomx/tika-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. marcelomx/tika-client

AbandonedArchivedLibrary[API Development](/categories/api)

marcelomx/tika-client
=====================

Apache Tika PHP Client

02262PHP

Since Sep 24Pushed 12y ago1 watchersCompare

[ Source](https://github.com/marcelomx/tika-client)[ Packagist](https://packagist.org/packages/marcelomx/tika-client)[ RSS](/packages/marcelomx-tika-client/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Apache Tika PHP Client
======================

[](#apache-tika-php-client)

Usage:

```
$path   = __DIR__ . '/../bin/tika-app-1.4.jar';
$tika = new TikaClient($path);

// Get text
$text = $tika->getText('file.doc');

// Get html text
$html = $tika->getHtml('file.doc');

// Get xhtml text
$xhtml = $tika->getXhtml('file.doc');

// Get language
$lang = $tika->getLanguage('file.doc');

// Get content type
$type = $tika->getContentType('file.doc');

// Extract all attachments on doc file
$target = '/tmp/'; // target directory
$tika->extract('file.doc', $target);

```

If you prefer, use the TikaWrapper to encapsulate all operations to same file. Eg:

```
$wrapper = new TikaWrapper('file.doc', $client);

// Get text
$text = $wrapper->getText();

// Get html text
$html = $wrapper->getHtml();

// Get xhtml text
$xhtml = $wrapper->getXhtml();

// Get language
$lang = $wrapper->getLanguage();

// Get content type
$type = $wrapper->getContentType('file.doc');

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/254518?v=4)[Marcelo Rodrigues](/maintainers/marcelomx)[@marcelomx](https://github.com/marcelomx)

---

Top Contributors

[![marcelomx](https://avatars.githubusercontent.com/u/254518?v=4)](https://github.com/marcelomx "marcelomx (8 commits)")

### Embed Badge

![Health badge](/badges/marcelomx-tika-client/health.svg)

```
[![Health](https://phpackages.com/badges/marcelomx-tika-client/health.svg)](https://phpackages.com/packages/marcelomx-tika-client)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
