hocvt / tika-simple
There is no license information available for the latest version (v1.0.2) of this package.
Simple tika client
v1.0.2
2021-12-02 04:53 UTC
Requires
- guzzlehttp/guzzle: ^7.4
This package is auto-updated.
Last update: 2022-07-01 00:16:58 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);