Large vendor size caused by utopia-php/compression package (contains video/gif files)

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

Nobody has claimed this yet.

Assessment

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

Research direction

Start by inspecting how utopia-php/compression is included and which files are present in its published Composer distribution. Identify whether the video, GIF, and other large assets are required, then verify that the production package excludes unnecessary media and its size is reduced.

Written by the indexing model from the issue text.

Description

Hi, thanks for the great work on utopia-php libraries!

I noticed that after updating dependencies, the vendor folder size increased significantly. Specifically, the package utopia-php/compression now adds a lot of weight:

Before: ~1 MB

After: ~40 MB

After checking, I found that the package contains many video files, GIF images, and other large assets which are not required for production usage. These files make the final deployment package much larger than expected.

Could you please:

  1. Remove unnecessary media/test/demo assets from the published release.

  2. Or move them into a separate examples/tests folder that can be excluded from Composer distribution.

This will greatly help reduce the size of production deployments.

Thanks again for your work!

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

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.

More from utopia-php/domains

All issues in utopia-php/domains

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.