Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

psr/log dependency update

Open
#37 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
php
Domain
backend

Research direction

Open composer.json and locate the psr/log dependency. Update its constraint to the requested compatible range, then run the composer require elastic/ecs-logging command from the issue to verify dependency resolution succeeds.

Written by the indexing model from the issue text.

Description

Hi,

The composer require elastic/ecs-logging command generates this:

Using version ^1.0 for elastic/ecs-logging
./composer.json has been updated
Running composer update elastic/ecs-logging
Loading composer repositories with package information
Updating dependencies                                 
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - elastic/ecs-logging[1.0.0, ..., 1.0.2] require php ^7.2 -> your php version (8.0.9) does not satisfy that requirement.
    - elastic/ecs-logging 1.0.3 requires psr/log ^1.0.1 -> found psr/log[1.0.1, ..., 1.1.4] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires elastic/ecs-logging ^1.0 -> satisfiable by elastic/ecs-logging[1.0.0, 1.0.1, 1.0.2, 1.0.3].

Can you update the psr/log dependency in composer.json to "psr/log": "^1.1 || ^2.0" ?

Regards,
Csongor.

Dominant language
PHP
Stars
21
Forks
42
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from elastic/ecs-logging-php

All issues in elastic/ecs-logging-php

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.