2017 © Pedro Peláez
 

symfony-bundle apache-tika-bundle

Symfony Bundle for https://github.com/vaites/php-apache-tika

image

jolicode/apache-tika-bundle

Symfony Bundle for https://github.com/vaites/php-apache-tika

  • Friday, February 26, 2016
  • by ternel
  • Repository
  • 14 Watchers
  • 7 Stars
  • 6,460 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 8 Versions
  • 29 % Grown

The README.md

ApacheTikaBundle

Travis Latest Stable Version Total Downloads License SensioLabs Insight, (*1)

This bundle integrates the php-apache-tika library into Symfony2., (*2)

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:, (*3)

$ composer require jolicode/apache-tika-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation., (*4)

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:, (*5)

<?php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Joli\ApacheTikaBundle\ApacheTikaBundle(),
            // ...
        ];
    }
}

Step 3: Configuration

For tika-server :, (*6)

Add configuration in the app/config/config.yml file:, (*7)

apache_tika:
    host: 127.0.0.1
    port: 9998

For tika-app :, (*8)

Add configuration in the app/config/config.yml file:, (*9)

apache_tika:
    path: path/to/tika.jar

Step 4: Instantiate a client

In your controller, you can instantiate a client like this:, (*10)

<?php

/**
 * @Route("/", name="homepage")
 */
public function indexAction()
{
    $client = $this->get('apache_tika.client');
    return new Response($client->getText('robots.txt'));
}

The Versions

26/02 2016

dev-master

9999999-dev https://github.com/jolicode/ApacheTikaBundle

Symfony Bundle for https://github.com/vaites/php-apache-tika

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar welcomattic

bundle symfony pdf apache documents tika doc office ocr odt docx pptx ppt

26/02 2016

1.0.0

1.0.0.0 https://github.com/jolicode/ApacheTikaBundle

Symfony Bundle for https://github.com/vaites/php-apache-tika

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar welcomattic

bundle symfony pdf apache documents tika doc office ocr odt docx pptx ppt

25/02 2016

0.2.2

0.2.2.0 https://github.com/jolicode/ApacheTikaBundle

Symfony Bundle for https://github.com/vaites/php-apache-tika

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar welcomattic

bundle symfony pdf apache documents tika doc office ocr odt docx pptx ppt

21/01 2016

0.2.1

0.2.1.0 https://github.com/jolicode/ApacheTikaBundle

Symfony Bundle for https://github.com/vaites/php-apache-tika

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar welcomattic

bundle symfony pdf apache documents tika doc office ocr odt docx pptx ppt

20/01 2016

0.2.0

0.2.0.0 https://github.com/jolicode/ApacheTikaBundle

Symfony Bundle for https://github.com/vaites/php-apache-tika

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar welcomattic

bundle symfony pdf apache documents tika doc office ocr odt docx pptx ppt

18/01 2016

0.1.2

0.1.2.0 https://github.com/welcoMattic/ApacheTikaBundle

Symfony Bundle for https://github.com/vaites/php-apache-tika

  Sources   Download

MIT

The Requires

 

by Avatar welcomattic

bundle symfony pdf apache documents tika doc office ocr odt docx pptx ppt

13/01 2016

0.1.1

0.1.1.0 https://github.com/welcoMattic/ApacheTikaBundle

Symfony Bundle for https://github.com/vaites/php-apache-tika

  Sources   Download

MIT

The Requires

 

by Avatar welcomattic

bundle symfony pdf apache documents tika doc office ocr odt docx pptx ppt

11/01 2016

0.1.0

0.1.0.0 https://github.com/welcoMattic/ApacheTikaBundle

Symfony Bundle for https://github.com/vaites/php-apache-tika

  Sources   Download

MIT

The Requires

 

by Avatar welcomattic

bundle symfony pdf apache documents tika doc office ocr odt docx pptx ppt