yooper/php-text-analysis

issue with laravel composer

Closed this issue · 7 comments

I was checking if I could use this within my own project, but when trying to make a proof of concept it seemed to be unable to work with a clean laravel installation.

macbookpro$ composer require yooper/php-text-analysis
Using version ^1.3 for yooper/php-text-analysis
./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 request for yooper/php-text-analysis ^1.3 -> satisfiable by yooper/php-text-analysis[1.3].
    - Conclusion: remove symfony/console v4.0.4
    - Conclusion: don't install symfony/console v4.0.4`

would it be possible to allow symfony console?

I just pushed a release 1.3.1 that increases the compatibility options for symfony console. Give it try and let me know if that resolves your issue.

What version of Laravel are you trying to integrate with?

I was trying it with Laravel 5.6, its latest release as of now, I will try to check if it worked once i'm home. Will add that in about an hour or two.

I just tried, and sadly it's giving me an error message because of my PHP version.

Jesseys-MacBook-Pro:poc jessey-macbookpro$ composer require yooper/php-text-analysis 1.3.1

  [InvalidArgumentException]
  Package yooper/php-text-analysis at version 1.3.1 has a PHP requirement incompatible with your PHP version (7.1.3.0)

I take it's not made to be compatible with php7? Since this is required for Laravel 5.5+

I just pushed a new tag 1.3.2 that should resolve the php version issue for you. Thanks for your feedback.

I just tried it, and it gave me the same error, that my PHP is incompatible with version 1.3.2.

Jesseys-MacBook-Pro:poc jessey-macbookpro$ composer require yooper/php-text-analysis 1.3.2

[InvalidArgumentException]
Package yooper/php-text-analysis at version 1.3.2 has a PHP requirement incompatible with your PHP version (7.1.3.0)

I pushed another fix, release 1.3.3 . Packagist was not updating to the newest version because of a licensing issue. Please let me know if it doesn't work.

It worked this time! awesome!