PHPackages                             xj/yii2-jquery-eraser - 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. xj/yii2-jquery-eraser

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

xj/yii2-jquery-eraser
=====================

yii2-jquery-eraser

1.0.0(10y ago)05BSD-3-ClausePHP

Since Oct 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/xjflyttp/yii2-jquery-eraser)[ Packagist](https://packagist.org/packages/xj/yii2-jquery-eraser)[ RSS](/packages/xj-yii2-jquery-eraser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

yii2-jquery-eraser
==================

[](#yii2-jquery-eraser)

```
https://github.com/boblemarin/jQuery.eraser

```

composer.json
-------------

[](#composerjson)

```
"require": {
    "xj/yii2-jquery-eraser": "~1.0"
},
```

View
----

[](#view)

#### Assets

[](#assets)

```
xj\eraser\EraserAsset::register($this);
```

#### Css

[](#css)

```
.eraser-container {
    position: relative;
    display: inline-block;
    width: 300px;
    height: 200px;
}
#sourceImage {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    -webkit-box-shadow: 0px 0px 20px 0px #707070;
    -moz-box-shadow: 0px 0px 20px 0px #707070;
    box-shadow: 0px 0px 20px 0px #707070;
}
#coverImage {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
}
```

#### Html

[](#html)

```

```

#### Js

[](#js)

```
$('#coverImage').eraser({
    completeRatio: 0.4,
    completeFunction: function(){
        var progress = $('#coverImage').eraser('progress');
        if (progress.toString() !== '1') {
            $('#coverImage').eraser('clear');
        }
    }
});
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3876d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9f04ccc1ccda3af80975323425ff7d5f7d142603f1ad05df6558ffa63256f8d?d=identicon)[xjflyttp](/maintainers/xjflyttp)

---

Top Contributors

[![xjflyttp](https://avatars.githubusercontent.com/u/128428?v=4)](https://github.com/xjflyttp "xjflyttp (6 commits)")

### Embed Badge

![Health badge](/badges/xj-yii2-jquery-eraser/health.svg)

```
[![Health](https://phpackages.com/badges/xj-yii2-jquery-eraser/health.svg)](https://phpackages.com/packages/xj-yii2-jquery-eraser)
```

PHPackages © 2026

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