NinoSkopac / PhpTikaWrapper

Simple PHP Wrapper for Apache Tika
60 stars 24 forks source link

Symphony/Process required version #1

Closed ockam closed 11 years ago

ockam commented 11 years ago

I’m using your package with Laravel 4 which already load Symphony/Process 2.3.*

I’m unable to load your package through composer because you require "symfony/process": "2.1.*"

I installed it manually and it seems to work fine with 2.3. So may I suggest you change the require line to:

"symfony/process": "~2.1" (Next Significant Release)

http://getcomposer.org/doc/01-basic-usage.md#the-require-key

Thank you for making this available! It saved me a lot of work.

bellecp commented 11 years ago

I just committed the change you suggested. Glad you're using it !

https://github.com/pierroweb/PhpTikaWrapper/commit/6ca06e0eb84efbd75223c3292d612a6f291dac10

fahadonline commented 7 years ago

@NinoSkopac

I am having similar issue with Laravel 5.3.

Any clue how can I fix it.

Below is the compose output when I try to run composer require enzim/tika-wrapper

`sudo composer require enzim/tika-wrapper Do not run Composer as root/super user! See https://getcomposer.org/root for details Using version ^1.0 for enzim/tika-wrapper ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Installation failed, reverting ./composer.json to its original content. `

youngbobby commented 5 years ago

Sorry to bump this issue @ockam. Would you please share how you were able to install this manually on Laravel ? I'm currently having this issue.

Thanks.

ockam commented 5 years ago

@youngbobby if I remember correctly, I litterally dropped the library folder in my vendor dir, then I manually set the autoload in composer.json:

"autoload": {
        "classmap": [],
        "psr-0": {
            "Enzim\\Lib\\TikaWrapper\\": "vendor/enzim/tika-wrapper/TikaApp"
               }
    },

Screen Shot 2019-10-10 at 08 22 47