Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce .phar filesize #165

Closed
staabm opened this issue Nov 3, 2020 · 1 comment · Fixed by #167
Closed

reduce .phar filesize #165

staabm opened this issue Nov 3, 2020 · 1 comment · Fixed by #167

Comments

@staabm
Copy link

staabm commented Nov 3, 2020

I would love to get the filesize reduced of the cachetool.phar.

we will copy it a lot within build pipelines to make it available.

I have just downloaded cachetool 5.1.3 and had a look into the phar
using php -r '$phar = new Phar("cachetool.phar"); $phar->extractTo("./cachetool");',
so we can finally see which folders take the most space (using Treesize on Windows):

grafik

the worst offenders are marked in bold.
see the amount in percent on the right.

as with most projects, vendor/ takes ~91% of the actual phar

@gordalina
Copy link
Owner

Compressed phars (gz and bz2) are now released from v6.0.0.
Look here on how to get them: https://github.com/gordalina/cachetool#installation---latest-version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants