hocvt/tika-simple

There is no license information available for the latest version (v1.1.0) of this package.

Simple tika client

Installs: 2 959

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Open Issues: 0

pkg:composer/hocvt/tika-simple

v1.1.0 2024-01-08 08:06 UTC

This package is auto-updated.

Last update: 2025-09-08 11:43:45 UTC


README

Install

composer require hocvt/tika-simple

Usage

require __DIR__ . "/../vendor/autoload.php";


$client = new \HocVT\TikaSimple\TikaSimpleClient();

$file = __DIR__ . "/demo.docx";

$mime = $client->mimeFile($file);

echo "Tika version " . $client->version() . "\n";

var_dump($mime);

$html = $client->rmetaFile($file, 'html');

var_dump($html);