dev-master
9999999-devYii2 antileech component
The Requires
- php >=5.4.0
- yiisoft/yii2 *
file yii2 distribute stream anti leech
Wallogit.com
2017 © Pedro Peláez
Yii2 antileech component
Antileech component to stream files, (*1)
The preferred way to install this extension is through Composer., (*2)
Either run php composer.phar require sadovojav/yii2-antileech "dev-master", (*3)
or add "sadovojav/yii2-antileech": "dev-master" to the require section of your composer.json, (*4)
Attach the component in your config file:, (*5)
'components' => [
'antileech' => [
'class' => 'sadovojav\antileech\AntiLeech'
],
],
Yii::$app->antileech->stream($filePath, 10000);
filePath required (string) -The full path to the filespeedLimit - Speed limitYii2 antileech component
file yii2 distribute stream anti leech