wearesho-team / yii2-monitoring-fs
Yii2 filesystem monitoring
Package info
github.com/wearesho-team/yii2-monitoring-fs
pkg:composer/wearesho-team/yii2-monitoring-fs
2.1.1
2026-10-26 20:19 UTC
Requires
- php: >=8.4
- guzzlehttp/guzzle: ^7.8.2
- horat1us/yii2-monitoring: ^1.6
- wearesho-team/yii2-filesystem: ^5.1
- yiisoft/yii2: ^2.0.54
Requires (Dev)
- horat1us/yii2-asset-free: ^1.1
- php-mock/php-mock-phpunit: ^2.15
- phpunit/phpunit: ^13.4
- squizlabs/php_codesniffer: ^4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-26 20:22:36 UTC
README
Compatibility: tested on PHP 8.4, PHP 8.5
Installation
composer require wearesho-team/yii2-monitoring-fs:^2.1
Usage
Create instance of Fs class and put in it your filesystem adapter.
Simple usage example in console controller:
<?php use Wearesho\Yii\Monitoring; class MonitoringController extends \yii\console\Controller { public function actionIndex() { /** @var \League\Flysystem\Filesystem $fs */ $control = new Monitoring\Control\Fs([ 'fs' => $fs, 'client' => new \GuzzleHttp\Client(), ]); try { $details = $control->execute(); } catch (\Horat1us\Yii\Monitoring\Exception $exception) { $this->stdout($exception->getMessage()); } } }