2017 © Pedro Peláez
 

bundle tika-bundle

Bundle for Apache Tika wrapper

image

funstaff/tika-bundle

Bundle for Apache Tika wrapper

  • Thursday, December 10, 2015
  • by Garfield-fr
  • Repository
  • 1 Watchers
  • 1 Stars
  • 5,169 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 7 % Grown

The README.md

TikaBundle

A bundle for Tika wrapper, (*1)

Installation

To install FunstaffTikaBundle with Composer just run:, (*2)

$ php composer.phar require funstaff/tika-bundle dev-master

Usage

config.yml, (*3)

funstaff_tika:
    tika_path:  /path/to/tika.jar   # required
    java_path:  ~                   # default: null
    metadata_class: ~               # default: Funstaff\Tika\Metadata
    output_format: ~                # default: xml
    metadata_only: ~                # default: false
    output_encoding: ~              # default: UTF-8
    logging: ~                      # default: prod = false, dev = true

On controller:, (*4)

$wrapper = $this->get('funstaff_tika.wrapper')
    ->addDocument(new Document('doc.pdf', $funstaffVendor.'/Tests/File/test.pdf'))
    ->execute();

/* Get Document */
$document = $wrapper->getDocument('doc.pdf');

/* Get Metadata */
$metadata = $document->getMetadata();

Credits

To all users that gave feedback and committed code https://github.com/Funstaff/TikaBundle., (*5)

© Bertrand Zuchuat - Funstaff, (*6)

The Versions

10/12 2015

dev-master

9999999-dev

Bundle for Apache Tika wrapper

  Sources   Download

MIT

The Requires