-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composer install hootlex requires version ~5.* #143
Comments
Can you provide more information about your environment/app? Laravel Version, PHP Version, ServerType, etc. Would help in debugging the issue. -TT |
PHP v. 7.3.11 on command line composer.json
Hope that helps for debugging. |
This package only has support for Laravel 5.x versions. Unfornately this package has not be updated to work with Laravel 6 & PHP 7+ even though some pr's for the same were submitted. If you still want to use this package, you'd need to downgrade to Laravel 5 or find an alternative. -TT |
I've got the same error since yesterday, even though I'm running Laravel 5.x |
Your PHP version? This repo hasn't been updated/changed in a very long time. So if anything stops working, its cause you updated something to the newer version (anything released within the last 18 months is definitely not compatible), say for example your PHP version. Also are you requiring through composer or adding manually to the composer.json file ? -TT |
I've got the same error. Running Laravel 5.6 and PHP 7.2.10 |
This package was last maintained during Laravel 5.4 with PHP v5.4. You cannot run this package on PHP7 as it will give you certain runtime exceptions. Since this package is now abandoned, I will be forking it and creating a updated version with support for Laravel 8 sometime next weekend. |
Thanks - I understand. The only strange thing is that it worked for a very long time with the same PHP / Laravel version. The last deploy i did 2-3 weeks ago. Nothing has changed in the Laravel friendships code for 2 years. And we haven't changed anything relevant in our project either (just some css). but today i got this error (...Could not parse version constraint ~5.: Invalid version string "~5....) for the first time. |
That's the weird thing for me as well. I've worked with this package about a week ago with the same development setup (PHP 7.3) and it worked fine until a few days ago. |
Ok. So since it was working fine until recently, I did quick google search and found a probable bug in composer that was reported ~2 weeks ago. Refer composer/composer#9191 If you updated composer recently, run |
I will try this. Thank you |
Unfortunately i'm unexpectedly getting the same error:
Could you share your solution? |
Refer to my previous reply, if you havn't updated your PHP version recently, it most likely a composer bug, see if your composer was updated recently, if so do a rollback. |
Hi,
I have an existing laravel project and wanted to add a new package for creating pdf.
Unfortunately I always get this error when I require any package with composer
It is very weird because of the version, when I remove the package I can install the pdf package. But I cannot install hootlex/laravel-friendships package anymore as I'm getting the same error as described above.
The text was updated successfully, but these errors were encountered: