utopia-php / utopia-php/domains

Mandatory ext-memcached and ext-opentelemetry

Open
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
56
Forks
22
Avg merge
35m
Merged PRs (30d)
2

Description

Hello,

Thanks for your work!
Just having a small issue on my side since several versions.
I can't upgrade the package since one of your dep require two php extensions:

    - Root composer.json requires utopia-php/domains ^1.0 -> satisfiable by utopia-php/domains[1.0.0].
    - utopia-php/cache 1.0.0 requires ext-memcached * -> it is missing from your system. Install or enable PHP's memcached extension.
 Root composer.json requires utopia-php/domains ^1.0 -> satisfiable by utopia-php/domains[1.0.0, ..., 1.0.5].
    - utopia-php/cache 1.0.0 requires utopia-php/telemetry * -> satisfiable by utopia-php/telemetry[dev-opentelemetry-logger, dev-main, dev-testing, dev-tracing, 0.1.0, 0.1.1, 0.2.0, 9999999-dev].

I think they should be optional. Not all servers have these extensions installed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the root composer.json dependency chain shown in the report, especially utopia-php/cache and utopia-php/telemetry. Check how the memcached and OpenTelemetry extensions are declared and verify that Composer can install the domains package without them; done means those extensions are no longer mandatory for servers that do not provide them.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.