PHPackages                             zyx/yii2-unbloat - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. zyx/yii2-unbloat

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

zyx/yii2-unbloat
================

Post-update cleanup for Yii2-Composer project

018PHP

Since Oct 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/SDKiller/yii2-unbloat)[ Packagist](https://packagist.org/packages/zyx/yii2-unbloat)[ RSS](/packages/zyx-yii2-unbloat/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Warning! This project is not maintained any more!
=================================================

[](#warning-this-project-is-not-maintained-any-more)

As similar functionality was [introduced](https://github.com/francoispluchino/composer-asset-plugin/issues/40) by [François Pluchino](https://github.com/francoispluchino) in his excellent [Composer Asset Plugin](https://github.com/francoispluchino/composer-asset-plugin), I think I should not 'reinvent the wheel' any more.

For usage of Composer Asset Plugin for that purpose [see its docs](https://github.com/francoispluchino/composer-asset-plugin/blob/master/Resources/doc/index.md#use-the-ignore-files-manager-in-the-composer-scripts).

This repository is left only for the purpose to keep BC for several private projects and will be dropped in future.

Post-update cleanup for Yii2-Composer project
---------------------------------------------

[](#post-update-cleanup-for-yii2-composer-project)

Have you suffered from tons of not nesessary for you in production files (like `docs`, `tests`, etc.) installed by Composer with almost every package? Unfortunately Composer has no 'ignore' section in `composer.json` (unlike Bower in `bower.json`) to exclude some files and folders.

This is a `post-update-cmd` composer script to cleanup Yii2 project of not nesessary files.

Installation
------------

[](#installation)

```
composer.phar require --prefer-dist zyx/yii2-unbloat "*"

```

TBD

Usage
-----

[](#usage)

TBD

Add the following to `composer.json` file in your project root:

```
    ...
    "scripts": {
        ...
        "post-update-cmd": [
            "zyx\\unbloat\\Helper::postCmd"
        ]
        ...
    },
    "extra": {
        ...
        "ignore": {
            "twbs/bootstrap": "type::bower",
            "swiftmailer/swiftmailer": [
                "/.*",
                "phpunit.xml.dist",
                "doc",
                "tests",
                "notes"
            ]
        }
        ...
    }
    ...

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/99805?v=4)[Luke Andrew](/maintainers/zyx)[@zyx](https://github.com/zyx)

---

Top Contributors

[![SDKiller](https://avatars.githubusercontent.com/u/2150916?v=4)](https://github.com/SDKiller "SDKiller (11 commits)")

### Embed Badge

![Health badge](/badges/zyx-yii2-unbloat/health.svg)

```
[![Health](https://phpackages.com/badges/zyx-yii2-unbloat/health.svg)](https://phpackages.com/packages/zyx-yii2-unbloat)
```

###  Alternatives

[components/jqueryui

jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.

1795.8M57](/packages/components-jqueryui)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
