PHPackages                             dzunke/panaly-files - 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. dzunke/panaly-files

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

dzunke/panaly-files
===================

A Panaly plugin that is analyzing a set of folders for their filesystem structure

069[1 PRs](https://github.com/DZunke/panaly-files/pulls)PHPCI passing

Since Aug 13Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/DZunke/panaly-files)[ Packagist](https://packagist.org/packages/dzunke/panaly-files)[ RSS](/packages/dzunke-panaly-files/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Panaly - Project Analyzer - Filesystem Plugin
=============================================

[](#panaly---project-analyzer---filesystem-plugin)

The plugin to the [Panaly Project Analyzer](https://github.com/DZunke/panaly) enables metrics that can be utilized to collect data about the filesystem of a project. It will not access any tooling but utilizes the [Symfony Finder Component](https://symfony.com/doc/current/components/finder.html).

Available Metrics
-----------------

[](#available-metrics)

**Directory Count**

The directory count with the name `directory_count` gives an `Integer` result with the count of found directories. The following options are available for the metric.

OptionDescriptionpathsThe paths will be combined to a single count**File Count**

The file count with the name `file_count` gives an `Integer` result with the count of found directories. The following options are available for the metric.

OptionDescriptionpaths**(Required)** *Array* - The paths will be combined to a single count.names**(Optional)** *Array* - A filter for the names of the files, the possible values are defined by the `Finder` component of symfony.**Largest Files**

The metric with the name `largest_files` is able to list the largest files that are given within the paths. The Listing could also be filtered by a name and so will just return the largest files of specific filters like with the file count. The resulting metric is of type `Table` with the columns `file` and `size`.

OptionDescriptionpaths**(Required)** *Array* - The paths will be combined to a single count.names**(Optional)** *Array* - A filter for the names of the files, the possible values are defined by the `Finder` component of symfony.amount**(Optional)** *Integer* *Default: 5* - The amount of files that should be listed in the result.Example Configuration
---------------------

[](#example-configuration)

```
# panaly.dist.yaml
plugins:
    DZunke\PanalyFiles\FilesPlugin: ~ # no options available

groups:
    filesystem:
        title: "Filesystem Metrics"
        metrics:
            file_count:
                title: All Project Files
                paths:
                    - src
            file_count_php:
                title: PHP Files
                metric: file_count
                paths:
                    - src
                    - tests
                names:
                    - "*.php"
            directory_count:
                title: Test Directories
                paths:
                    - tests
            largest_php_files:
                title: Largest PHP Files
                metric: largest_files
                amount: 3
                paths:
                    - src
                    - tests
                names:
                    - "*.php"
```

Thanks and License
------------------

[](#thanks-and-license)

**Panaly Project Analyzer - Filesystem Plugin** © 2024+, Denis Zunke. Released utilizing the [MIT License](https://mit-license.org/).

> GitHub [@dzunke](https://github.com/DZunke) · Twitter [@DZunke](https://twitter.com/DZunke)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance45

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

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/0cbe8d66405659eb7cf0776a653954c4c8ea3817c00d026a9cd165b86c80e38f?d=identicon)[DZunke](/maintainers/DZunke)

---

Top Contributors

[![DZunke](https://avatars.githubusercontent.com/u/1244235?v=4)](https://github.com/DZunke "DZunke (9 commits)")

---

Tags

filesystemmetricspanalyphpquality

### Embed Badge

![Health badge](/badges/dzunke-panaly-files/health.svg)

```
[![Health](https://phpackages.com/badges/dzunke-panaly-files/health.svg)](https://phpackages.com/packages/dzunke-panaly-files)
```

###  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.8M124](/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)
