PHPackages                             tsdogs/yii2-fsmanager - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. tsdogs/yii2-fsmanager

ActiveYii2-extension[File &amp; Storage](/categories/file-storage)

tsdogs/yii2-fsmanager
=====================

Module for a simple File Manager

017PHPCI failing

Since Jun 12Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 fsmanager
==============

[](#yii2-fsmanager)

[![Latest Stable Version](https://camo.githubusercontent.com/b530cc648c72870ef4f0174c402d1619a922bc9db760be30fad59b30b4d8cccb/68747470733a2f2f706f7365722e707567782e6f72672f7473646f67732f796969322d66736d616e616765722f762f737461626c65)](https://packagist.org/packages/tsdogs/yii2-fsmanager)[![License](https://camo.githubusercontent.com/330765de39d34313c09b18f5940ba64f0b49d0ed20817d1cde20b2a7a04411ad/68747470733a2f2f706f7365722e707567782e6f72672f7473646f67732f796969322d66736d616e616765722f6c6963656e7365)](https://packagist.org/packages/tsdogs/yii2-fsmanager)[![Build Status](https://camo.githubusercontent.com/d11a7bb7b6cba2489d641f530f28568d2c4976728d24c9cb7baf135c1ad87cff/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7473646f67732f796969322d66736d616e616765722f6261646765732f6275696c642e706e673f623d7465737473)](https://scrutinizer-ci.com/g/tsdogs/yii2-fsmanager/build-status/tests)[![Code Coverage](https://camo.githubusercontent.com/c10711adc491bc64fa65d06c8ce8fdb88c5964ec4b17283da80c9067f86c1fa6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7473646f67732f796969322d66736d616e616765722f6261646765732f636f7665726167652e706e673f623d7465737473)](https://scrutinizer-ci.com/g/tsdogs/yii2-fsmanager/?branch=tests)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/516e1f98638965f1e4469b3f30a91643e2859f9f8dcc8ba626e075955750b76b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7473646f67732f796969322d66736d616e616765722f6261646765732f7175616c6974792d73636f72652e706e673f623d7465737473)](https://scrutinizer-ci.com/g/tsdogs/yii2-fsmanager/?branch=tests)[![Total Downloads](https://camo.githubusercontent.com/1bfceb45f347edd51aba61eda26553be49abcb2593a86acb9c6eb0da870028fb/68747470733a2f2f706f7365722e707567782e6f72672f7473646f67732f796969322d66736d616e616765722f646f776e6c6f616473)](https://packagist.org/packages/tsdogs/yii2-fsmanager)

Extension for file managing files on filesysstem

Demo
----

[](#demo)

You can see the demo on the [krajee](http://plugins.krajee.com/file-input/demo) website

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

[](#installation)

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

    Either run

    ```
    php composer.phar require tsdogs/yii2-fsmanager "~1.0.0"

    ```

    or add

    ```
    "tsdogs/yii2-fsmanager": "~1.0.0"

    ```

    to the require section of your `composer.json` file.
2. Add module to `common/config/main.php`

    ```
    'modules' => [
    	...
    	'fsmanager' => [
    		'class' => tsdogs\fsmanager\Module::className(),
    		'tempPath' => '@app/uploads/temp',
    		'publicPath' => '@app/uploads/store',
    		'rules' => [ // Rules according to the FileValidator
    		    'maxFiles' => 10, // Allow to upload maximum 3 files, default to 3
    			'mimeTypes' => 'image/png', // Only png images
    			'maxSize' => 1024 * 1024 // 1 MB
    		],
    		'viewRoles' => ['@'], // roles able to view files
    		'uploadRoles' => ['admins'], // roles able to manage files
    	]
    	...
    ]
    ```
3. Make sure that you specified `maxFiles` in module rules and `maxFileCount` on `AttachmentsInput` to the number that you want

Change log
----------

[](#change-log)

- **May 26, 2017** - Initial version

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

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

---

Top Contributors

[![abriosi-benassi](https://avatars.githubusercontent.com/u/73604868?v=4)](https://github.com/abriosi-benassi "abriosi-benassi (2 commits)")

### Embed Badge

![Health badge](/badges/tsdogs-yii2-fsmanager/health.svg)

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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