Skip to content

Make PHP v6 client constructible after production install - #3

Merged
indent[bot] merged 1 commit into
mainfrom
iFixRobots/php-http-runtime-v6
Sep 25, 2026
Merged

indent[bot] merged 1 commit into
mainfrom
iFixRobots/php-http-runtime-v6

Conversation

@iFixRobots

Copy link
Copy Markdown
Contributor

I installed the new PHP v6 release into a clean Composer project and found that installation succeeded, but constructing BeeperDesktop\Client failed:

Next Http\Discovery\Exception\NotFoundException: No PSR-17 url factory found. Install a package from this list: https://packagist.org/providers/psr/http-factory-implementation

src/Client.php:98-104 asks discovery for a URI, stream, request factory, and HTTP client. composer.json only required the PSR interfaces; its concrete Guzzle implementation was under require-dev, which consumers do not install. I moved Guzzle to require and updated the lockfile so an ordinary production install supplies the client and factories. In a fresh --no-dev install, new Client(...) now succeeds and exposes LabelsService. I bumped the version to 6.0.1 rather than changing the already published v6.0.0 tag.

View in Indent
Tag @indent to continue the conversation here.

@indent
indent Bot merged commit e4474d5 into main Sep 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant