Skip to content

Library is very large #1584

Closed
Closed
@Jamesking56

Description

@Jamesking56

Describe the bug

This Composer library is inordinately large compared to most libraries. Downloaded it is 244.8 MiB.

This causes issues for me since my hosting provider limits Composer to run maximum for 5 minutes. This library is so big that it causes Composer to timeout on my host.

I am only using the library since it is required for using PHP to send emails via Office 365, since SMTP is being phased out.

Is there a better trimmed version of this library that can be made available?

Expected behavior

The library size is closer to most Composer libraries, < 50 MiB.

For comparison, AWS SDK is 48.7 MiB.

How to reproduce

Require this library and look at the size output in vendor.

SDK Version

2.14.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

image

Configuration

  • OS: PopOS 22.04
  • Architecture: x64

Specifically PHP timeout set to 300 seconds

Other information

Looks like the largest file in this repo is src/Generated/kioa-dom-export.txt at 35.7 MiB alone, do we need this file?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions