You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing Message Factory because of latest php-http/message version #361
Faced same issue, is there any official fix available instead of installing other packages?
No php-http message factories found. Note that the php-http message factories are deprecated in favor of the PSR-17 message factories. To use the legacy Guzzle, Diactoros or Slim Framework factories of php-http, install php-http/message and php-http/message-factory and the chosen message implementation.
Edit: disregard. I thought my answer was correct, but turns out that the php-http/message-factory was required and psr/http-factory is just a set of interfaces.
I recently implemented https://docs.saloon.dev/ to combat this SDK being so far behind. I highly recommend this library. It handles rate limiting and error handling really well.
Activity
mayanksdudakiya commentedon Jul 6, 2023
Faced same issue, is there any official fix available instead of installing other packages?
No php-http message factories found. Note that the php-http message factories are deprecated in favor of the PSR-17 message factories. To use the legacy Guzzle, Diactoros or Slim Framework factories of php-http, install php-http/message and php-http/message-factory and the chosen message implementation.andyg5000 commentedon Nov 9, 2023
Edit: disregard. I thought my answer was correct, but turns out that the
php-http/message-factorywas required andpsr/http-factoryis just a set of interfaces.psr/http-factory looks to fix this issue and is the supported update to php-http/message-factory
However, It looks like we should all be coming up with a different solution anyway. https://community.intercom.com/api-webhooks-23/intercom-php-sdk-is-incredibly-outdated-475
patrickomeara commentedon Nov 9, 2023
I recently implemented https://docs.saloon.dev/ to combat this SDK being so far behind. I highly recommend this library. It handles rate limiting and error handling really well.