View Code? Open in Web Editor
NEW
Simple PHP Wrapper for Apache Tika
phptikawrapper's People
phptikawrapper's Issues
I am having similar issue with Laravel 5.3 as mention in issue no. #1
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
Conclusion: don't install enzim/tika-wrapper 1.0.4
Conclusion: don't install enzim/tika-wrapper 1.0.3
Conclusion: don't install enzim/tika-wrapper 1.0.2
Conclusion: don't install enzim/tika-wrapper 1.0.1
Conclusion: remove symfony/process v3.1.10
Installation request for enzim/tika-wrapper ^1.0 -> satisfiable by enzim/tika-wrapper[1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4].
Conclusion: don't install symfony/process v3.1.10
enzim/tika-wrapper 1.0 requires symfony/process ~2.1 -> satisfiable by symfony/process[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
Can only install one of: symfony/process[v2.1.0, v3.1.10].
Can only install one of: symfony/process[v2.1.1, v3.1.10].
Can only install one of: symfony/process[v2.1.10, v3.1.10].
Can only install one of: symfony/process[v2.1.11, v3.1.10].
Can only install one of: symfony/process[v2.1.12, v3.1.10].
Can only install one of: symfony/process[v2.1.13, v3.1.10].
Can only install one of: symfony/process[v2.1.2, v3.1.10].
Can only install one of: symfony/process[v2.1.3, v3.1.10].
Can only install one of: symfony/process[v2.1.4, v3.1.10].
Can only install one of: symfony/process[v2.1.5, v3.1.10].
Can only install one of: symfony/process[v2.1.6, v3.1.10].
Can only install one of: symfony/process[v2.1.7, v3.1.10].
Can only install one of: symfony/process[v2.1.8, v3.1.10].
Can only install one of: symfony/process[v2.1.9, v3.1.10].
Can only install one of: symfony/process[v2.2.0, v3.1.10].
Can only install one of: symfony/process[v2.2.1, v3.1.10].
Can only install one of: symfony/process[v2.2.10, v3.1.10].
Can only install one of: symfony/process[v2.2.11, v3.1.10].
Can only install one of: symfony/process[v2.2.2, v3.1.10].
Can only install one of: symfony/process[v2.2.3, v3.1.10].
Can only install one of: symfony/process[v2.2.4, v3.1.10].
Can only install one of: symfony/process[v2.2.5, v3.1.10].
Can only install one of: symfony/process[v2.2.6, v3.1.10].
Can only install one of: symfony/process[v2.2.7, v3.1.10].
Can only install one of: symfony/process[v2.2.8, v3.1.10].
Can only install one of: symfony/process[v2.2.9, v3.1.10].
Can only install one of: symfony/process[v2.3.0, v3.1.10].
Can only install one of: symfony/process[v2.3.1, v3.1.10].
Can only install one of: symfony/process[v2.3.10, v3.1.10].
Can only install one of: symfony/process[v2.3.11, v3.1.10].
Can only install one of: symfony/process[v2.3.12, v3.1.10].
Can only install one of: symfony/process[v2.3.13, v3.1.10].
Can only install one of: symfony/process[v2.3.14, v3.1.10].
Can only install one of: symfony/process[v2.3.15, v3.1.10].
Can only install one of: symfony/process[v2.3.16, v3.1.10].
Can only install one of: symfony/process[v2.3.17, v3.1.10].
Can only install one of: symfony/process[v2.3.18, v3.1.10].
Can only install one of: symfony/process[v2.3.19, v3.1.10].
Can only install one of: symfony/process[v2.3.2, v3.1.10].
Can only install one of: symfony/process[v2.3.20, v3.1.10].
Can only install one of: symfony/process[v2.3.21, v3.1.10].
Can only install one of: symfony/process[v2.3.22, v3.1.10].
Can only install one of: symfony/process[v2.3.23, v3.1.10].
Can only install one of: symfony/process[v2.3.24, v3.1.10].
Can only install one of: symfony/process[v2.3.25, v3.1.10].
Can only install one of: symfony/process[v2.3.26, v3.1.10].
Can only install one of: symfony/process[v2.3.27, v3.1.10].
Can only install one of: symfony/process[v2.3.28, v3.1.10].
Can only install one of: symfony/process[v2.3.29, v3.1.10].
Can only install one of: symfony/process[v2.3.3, v3.1.10].
Can only install one of: symfony/process[v2.3.30, v3.1.10].
Can only install one of: symfony/process[v2.3.31, v3.1.10].
Can only install one of: symfony/process[v2.3.32, v3.1.10].
Can only install one of: symfony/process[v2.3.33, v3.1.10].
Can only install one of: symfony/process[v2.3.34, v3.1.10].
Can only install one of: symfony/process[v2.3.35, v3.1.10].
Can only install one of: symfony/process[v2.3.36, v3.1.10].
Can only install one of: symfony/process[v2.3.37, v3.1.10].
Can only install one of: symfony/process[v2.3.38, v3.1.10].
Can only install one of: symfony/process[v2.3.39, v3.1.10].
Can only install one of: symfony/process[v2.3.4, v3.1.10].
Can only install one of: symfony/process[v2.3.40, v3.1.10].
Can only install one of: symfony/process[v2.3.41, v3.1.10].
Can only install one of: symfony/process[v2.3.42, v3.1.10].
Can only install one of: symfony/process[v2.3.5, v3.1.10].
Can only install one of: symfony/process[v2.3.6, v3.1.10].
Can only install one of: symfony/process[v2.3.7, v3.1.10].
Can only install one of: symfony/process[v2.3.8, v3.1.10].
Can only install one of: symfony/process[v2.3.9, v3.1.10].
Can only install one of: symfony/process[v2.4.0, v3.1.10].
Can only install one of: symfony/process[v2.4.1, v3.1.10].
Can only install one of: symfony/process[v2.4.10, v3.1.10].
Can only install one of: symfony/process[v2.4.2, v3.1.10].
Can only install one of: symfony/process[v2.4.3, v3.1.10].
Can only install one of: symfony/process[v2.4.4, v3.1.10].
Can only install one of: symfony/process[v2.4.5, v3.1.10].
Can only install one of: symfony/process[v2.4.6, v3.1.10].
Can only install one of: symfony/process[v2.4.7, v3.1.10].
Can only install one of: symfony/process[v2.4.8, v3.1.10].
Can only install one of: symfony/process[v2.4.9, v3.1.10].
Can only install one of: symfony/process[v2.5.0, v3.1.10].
Can only install one of: symfony/process[v2.5.1, v3.1.10].
Can only install one of: symfony/process[v2.5.10, v3.1.10].
Can only install one of: symfony/process[v2.5.11, v3.1.10].
Can only install one of: symfony/process[v2.5.12, v3.1.10].
Can only install one of: symfony/process[v2.5.2, v3.1.10].
Can only install one of: symfony/process[v2.5.3, v3.1.10].
Can only install one of: symfony/process[v2.5.4, v3.1.10].
Can only install one of: symfony/process[v2.5.5, v3.1.10].
Can only install one of: symfony/process[v2.5.6, v3.1.10].
Can only install one of: symfony/process[v2.5.7, v3.1.10].
Can only install one of: symfony/process[v2.5.8, v3.1.10].
Can only install one of: symfony/process[v2.5.9, v3.1.10].
Can only install one of: symfony/process[v2.6.0, v3.1.10].
Can only install one of: symfony/process[v2.6.1, v3.1.10].
Can only install one of: symfony/process[v2.6.10, v3.1.10].
Can only install one of: symfony/process[v2.6.11, v3.1.10].
Can only install one of: symfony/process[v2.6.12, v3.1.10].
Can only install one of: symfony/process[v2.6.13, v3.1.10].
Can only install one of: symfony/process[v2.6.2, v3.1.10].
Can only install one of: symfony/process[v2.6.3, v3.1.10].
Can only install one of: symfony/process[v2.6.4, v3.1.10].
Can only install one of: symfony/process[v2.6.5, v3.1.10].
Can only install one of: symfony/process[v2.6.6, v3.1.10].
Can only install one of: symfony/process[v2.6.7, v3.1.10].
Can only install one of: symfony/process[v2.6.8, v3.1.10].
Can only install one of: symfony/process[v2.6.9, v3.1.10].
Can only install one of: symfony/process[v2.7.0, v3.1.10].
Can only install one of: symfony/process[v2.7.1, v3.1.10].
Can only install one of: symfony/process[v2.7.10, v3.1.10].
Can only install one of: symfony/process[v2.7.11, v3.1.10].
Can only install one of: symfony/process[v2.7.12, v3.1.10].
Can only install one of: symfony/process[v2.7.13, v3.1.10].
Can only install one of: symfony/process[v2.7.14, v3.1.10].
Can only install one of: symfony/process[v2.7.15, v3.1.10].
Can only install one of: symfony/process[v2.7.16, v3.1.10].
Can only install one of: symfony/process[v2.7.17, v3.1.10].
Can only install one of: symfony/process[v2.7.18, v3.1.10].
Can only install one of: symfony/process[v2.7.19, v3.1.10].
Can only install one of: symfony/process[v2.7.2, v3.1.10].
Can only install one of: symfony/process[v2.7.20, v3.1.10].
Can only install one of: symfony/process[v2.7.21, v3.1.10].
Can only install one of: symfony/process[v2.7.22, v3.1.10].
Can only install one of: symfony/process[v2.7.23, v3.1.10].
Can only install one of: symfony/process[v2.7.24, v3.1.10].
Can only install one of: symfony/process[v2.7.25, v3.1.10].
Can only install one of: symfony/process[v2.7.26, v3.1.10].
Can only install one of: symfony/process[v2.7.27, v3.1.10].
Can only install one of: symfony/process[v2.7.28, v3.1.10].
Can only install one of: symfony/process[v2.7.29, v3.1.10].
Can only install one of: symfony/process[v2.7.3, v3.1.10].
Can only install one of: symfony/process[v2.7.30, v3.1.10].
Can only install one of: symfony/process[v2.7.31, v3.1.10].
Can only install one of: symfony/process[v2.7.4, v3.1.10].
Can only install one of: symfony/process[v2.7.5, v3.1.10].
Can only install one of: symfony/process[v2.7.6, v3.1.10].
Can only install one of: symfony/process[v2.7.7, v3.1.10].
Can only install one of: symfony/process[v2.7.8, v3.1.10].
Can only install one of: symfony/process[v2.7.9, v3.1.10].
Can only install one of: symfony/process[v2.8.0, v3.1.10].
Can only install one of: symfony/process[v2.8.1, v3.1.10].
Can only install one of: symfony/process[v2.8.10, v3.1.10].
Can only install one of: symfony/process[v2.8.11, v3.1.10].
Can only install one of: symfony/process[v2.8.12, v3.1.10].
Can only install one of: symfony/process[v2.8.13, v3.1.10].
Can only install one of: symfony/process[v2.8.14, v3.1.10].
Can only install one of: symfony/process[v2.8.15, v3.1.10].
Can only install one of: symfony/process[v2.8.16, v3.1.10].
Can only install one of: symfony/process[v2.8.17, v3.1.10].
Can only install one of: symfony/process[v2.8.18, v3.1.10].
Can only install one of: symfony/process[v2.8.19, v3.1.10].
Can only install one of: symfony/process[v2.8.2, v3.1.10].
Can only install one of: symfony/process[v2.8.20, v3.1.10].
Can only install one of: symfony/process[v2.8.21, v3.1.10].
Can only install one of: symfony/process[v2.8.22, v3.1.10].
Can only install one of: symfony/process[v2.8.23, v3.1.10].
Can only install one of: symfony/process[v2.8.24, v3.1.10].
Can only install one of: symfony/process[v2.8.3, v3.1.10].
Can only install one of: symfony/process[v2.8.4, v3.1.10].
Can only install one of: symfony/process[v2.8.5, v3.1.10].
Can only install one of: symfony/process[v2.8.6, v3.1.10].
Can only install one of: symfony/process[v2.8.7, v3.1.10].
Can only install one of: symfony/process[v2.8.8, v3.1.10].
Can only install one of: symfony/process[v2.8.9, v3.1.10].
Installation request for symfony/process (locked at v3.1.10) -> satisfiable by symfony/process[v3.1.10].
Installation failed, reverting ./composer.json to its original content.
`
How to get attachments using NinoSkopac/PhpTikaWrapper?
Just wondering does this work on windows.
Thanks
Hi,
I've followed the install instructions but I'm getting the following error.
root@host [660 11:52:59 /usr/lib/tika/PhpTikaWrapper/example/with-composer]# php usage.php
Fatal error: Class 'Enzim\Lib\TikaWrapper\TikaWrapper' not found in /usr/lib/tika/PhpTikaWrapper/example/with-composer/usage.php on line 17
Any suggestions on what might be wrong here?
Hi
I have Installed Composer on our server path /opt/cpanel/composer/bin/composer
and after that i have downloaded PhpTikaWrapper from https://github.com/pierroweb/PhpTikaWrapper and upload folder on server after that i have installed composer phar under the PhpTikaWrapper (Same process that given https://github.com/pierroweb/PhpTikaWrapper ) and i got "autoload.php" under the Vendor folder, but when i directally run on browser "PhpTikaWrapper/example/with-composer/usage.php" its not giving response. I have also change and check path of "require 'vendor/autoload.php' but its not giving response.
I seems TikaWrapper class not working print_r(TikaWrapper::getMetaData($testFile));
Please suggest me where is mistake at my end.
hi
if i run the usage.php file trough ssh it works,
but it doesnt work in the browser, i just get an empty file.
TikaWrapper::getMetaData($file);
gives me regular text instead of php array.. why is that?
thanks
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.
Can you make run() method protected (not private) so that your class could be extendable.
Thank you
Warning: require(/home/XXXXXXX/public_html/php-tika/vendor/.composer/autoload.php) [function.require]: failed to open stream: No such file or directory in /home/jaxballa/public_html/cart/proofreading.php on line 5
Fatal error: require() [function.require]: Failed opening required '/home/XXXXXXX/public_html/php-tika/vendor/.composer/autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jaxballa/public_html/cart/proofreading.php on line 5
The autoload.php file appears to be missing in the download.
I try to get text from file with russian name like "Тест.docx" and get error:
Exception in thread "main" java.net.MalformedURLException: no protocol: /.../web/????.docx at java.net.URL.<init>(URL.java:611) at java.net.URL.<init>(URL.java:508) at java.net.URL.<init>(URL.java:457) at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:472) at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:145)
PHP Version: 7.0+
I am trying to use this package with Laravel 6 and there's a conflict with symfony/process .
Please update composer.json to use
"symfony/process": "^4.3.4",
This is the current version as at Laravel 6.
Thanks.
I would like to transfer ownership of the repo as I don't have time to take care of it anymore.
Anyone would be interested?
This is how this pdf is extacted
181 copy.pdf
)740(- تعلن إدارة الع مات التجارية عن تقدم وكيل التسجيل / المالك : ا مارات لخدمات الملكية الفكرية )541(- بطلب لتسجيل بيانات الع مة التجارية : YKSA )219(- المودعة بالرقم : 112313 بتاريخ : 2008/05/07
بيانات ا ولوية :
)730(- بإسم : ش. سوسيتي دي بروموشون دي أوني كومباني آرييني ريجيونال ( سبكار )
وعنوانة : بولفارد دو 13 جانفيير (إميوبل بيدك-سيديو) بي.بي. 2988. لومي (توغو).
The 'YSKA' should be ASKY and the brackets should be like -(740) ......
What can I do to correct it ?