PHPackages                             sadovojav/yii2-antileech - 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. sadovojav/yii2-antileech

ActiveYii2-extension

sadovojav/yii2-antileech
========================

Yii2 antileech component

0181PHP

Since Nov 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sadovojav/yii2-antileech)[ Packagist](https://packagist.org/packages/sadovojav/yii2-antileech)[ RSS](/packages/sadovojav-yii2-antileech/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 antileech
==============

[](#yii2-antileech)

Antileech component to stream files

#### Features:

[](#features)

- Speed limit
- Resumed downloads

### Composer

[](#composer)

The preferred way to install this extension is through [Composer](http://getcomposer.org/).

Either run `php composer.phar require sadovojav/yii2-antileech "dev-master"`

or add `"sadovojav/yii2-antileech": "dev-master"` to the require section of your `composer.json`

### Config

[](#config)

Attach the component in your config file:

```
'components' => [
    'antileech' => [
        'class' => 'sadovojav\antileech\AntiLeech'
    ],
],
```

### Use

[](#use)

```
Yii::$app->antileech->stream($filePath, 10000);
```

#### Parameters

[](#parameters)

- string `filePath` required (string) -The full path to the file
- integer `speedLimit` - Speed limit

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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://www.gravatar.com/avatar/0c17a869a6d802f11218035a8936a1feb52479d8695584a3a8531442d5ec81bf?d=identicon)[sadovojav](/maintainers/sadovojav)

### Embed Badge

![Health badge](/badges/sadovojav-yii2-antileech/health.svg)

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

PHPackages © 2026

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