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

Missing src/Elastic/Types after composer require

Open
#12 2 comments 0 reactions 1 assignee View on GitHub

@SergeyKleyman is already working on this.

Since Feb 10, 2021.

Assessment

This issue has not been assessed yet.

Description

I'm not sure how these files could be missing, but I've tried both in my main project and a default empty composer init project, and once installed, the only actual file present under src is src/Elastic/Monolog/Formatter/ElasticCommonSchemaFormatter.php.

src/Elastic/Types does not exist.

Reproduction:

mkdir emptyproject && cd emptyproject
composer init
[... hit enter to accept all defaults ...]
composer require elastic/ecs-logging
ls -la vendor/elastic/ecs-logging/src/Elastic/Monolog # exists
ls -la vendor/elastic/ecs-logging/src/Elastic/Types # does not exist

Do you get the same result?

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.