Skip to content

Use renamed Utopia HTTP package#231

Merged
ChiragAgg5k merged 1 commit into
mainfrom
fix/use-utopia-http-package
May 28, 2026
Merged

Use renamed Utopia HTTP package#231
ChiragAgg5k merged 1 commit into
mainfrom
fix/use-utopia-http-package

Conversation

@ChiragAgg5k
Copy link
Copy Markdown
Member

What does this PR do?

Updates the Composer dependency from utopia-php/framework to the renamed utopia-php/http package.

Both package names currently resolve to the same utopia-php/http repository and version, but downstream projects that also require utopia-php/http can install both packages at once. Since both packages autoload the same Utopia\\ classes, Composer emits ambiguous class resolution warnings while generating optimized autoload files.

Using the current package name prevents duplicate installs and avoids those warnings for consumers.

Test Plan

  • composer --working-dir=.worktrees/executor dump-autoload --optimize --no-interaction
  • composer --working-dir=.worktrees/executor format:check --no-interaction
  • composer --working-dir=.worktrees/executor analyze --no-interaction
  • composer --working-dir=.worktrees/executor test:unit --no-interaction

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 28, 2026

Greptile Summary

This PR replaces the deprecated utopia-php/framework Composer package with its canonical successor utopia-php/http, keeping the same version constraint (0.34.*) and resolved version (0.34.25). No source-code changes are required because both packages expose identical namespaces.

  • composer.json: Single-line dependency rename from utopia-php/framework to utopia-php/http.
  • composer.lock: Content-hash refreshed and package entry renamed accordingly; resolved version and source URL are unchanged.
  • No other files reference utopia-php/framework, so the rename is complete across the repository.

Confidence Score: 5/5

Safe to merge — this is a mechanical package rename with no behavioral change; the resolved version and namespace are identical.

Both package names resolve to the exact same repository at the same version, and no PHP source files reference the old package name. The rename is internally consistent across composer.json and composer.lock, and there are no remaining uses of utopia-php/framework anywhere in the repo.

No files require special attention.

Important Files Changed

Filename Overview
composer.json Renames dependency from utopia-php/framework to utopia-php/http with the same version constraint 0.34.*; no other changes.
composer.lock Lock file regenerated with updated content-hash and package name changed to utopia-php/http; resolved version and source remain identical at 0.34.25.

Reviews (1): Last reviewed commit: "Use renamed Utopia HTTP package" | Re-trigger Greptile

@ChiragAgg5k ChiragAgg5k merged commit 8c9c5ef into main May 28, 2026
7 checks passed
@ChiragAgg5k ChiragAgg5k deleted the fix/use-utopia-http-package branch May 28, 2026 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants