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
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 issrc/Elastic/Monolog/Formatter/ElasticCommonSchemaFormatter.php
.src/Elastic/Types
does not exist.Reproduction:
Do you get the same result?