-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Incompatible HTTP factory #74
Comments
After researching, I've worked around it by installing the legacy interface, as well as locking In the composer.json:
|
Thanks for this @jelleroorda - trying to overcome this issue myself. I'm still seeing this issue after popping the following into our composer.json and updating:
Could you please elaborate on what you mean by "installing the legacy interface"? Doe you mean installing "php-http/message-factory" here, alongside psr/http-message? Thanks again for raising this issue, hopefully I can assist with a PR of some kind |
Ah - found out what it was. I added the following to composer.json:
.. and my printing began to work again. I'll mount the package and see if I can get its dependencies updated into a PR so that we don't need to perform this legacy package fiddling 👍 |
Yes, so basically I now have both installed, as well as pinned the |
This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
@rawilk Perhaps it’s an idea to remove this stale bot? You don’t seem to actively maintain this package currently (which is okay!). Closing all these “actual issues” through the bot makes it seem like this package is actively maintained (keeps the issue count low). This is not very helpful for people who find this package and don’t immediately see this package is not actively maintained. It also has the effect that the same issue gets opened multiple times, because you’re unlikely to search for closed issues when you encounter an issue. For example, this issue is related to #70 which is found after opening this issue. |
@jelleroorda I can definitely remove the stale bot - seemed like a good idea at the time to add it. |
I mentioned on #81 that I would like to just write my own implementation for CUPS at some point so we could just eliminate the |
@rawilk |
@DmNick Thanks for the info. I'll look into it when I get a chance. |
Laravel Printing Version
3.0.3
Laravel Version
10.17.1
Print Driver
CUPS
Bug description
I've installed the package and the CUPS driver like documented. After setting up the credentials I try to show the available printers. This then results in an error.
So first:
Then run tinker:
php artisan tinker
Basically we need the deprecated
php-http/message-factory
package to send requests.However, when you install the deprecated package you get conflicts in the interfaces with the already currently installed
psr/http-factory
package:Then run tinker:
php artisan tinker
I suppose that we'd need to use the newly provided interfaces by
psr/http-factory
to fix the issue.I can't drop the
psr/http-factory
package since it's being used byphpoffice/phpspreadsheet
:Steps to reproduce
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: