PHPackages                             sunnysideup/folder-info - 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. sunnysideup/folder-info

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

sunnysideup/folder-info
=======================

Get recursive information about a folder or file in an efficient manner

3.1.0(4y ago)04BSD-3-ClausePHP

Since Jan 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sunnysideup/folder-info)[ Packagist](https://packagist.org/packages/sunnysideup/folder-info)[ RSS](/packages/sunnysideup-folder-info/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (4)DependenciesVersions (6)Used By (0)

Use the PHP file as required

you can independently use any of these calls as you see fit

```
$path = dirname(__FILE__) . '/../';
$path = realpath($path);

include $path .'/src/MyFolderInfo.php';
use Sunnysideup\FolderInfo\MyFolderInfo;

echo 'Count of Files '.$path.'';
echo MyFolderInfo::countOfFilesRaw($path);
echo ' OR ';
echo MyFolderInfo::countOfFilesHuman($path);

echo 'Size of Files '.$path.'';
echo MyFolderInfo::sizeOfFilesRaw($path);
echo ' OR ';
echo MyFolderInfo::sizeOfFilesHuman($path);

echo 'Last Updated '.$path.'';
echo MyFolderInfo::lastUpdatedRaw($path);
echo ' OR ';
echo MyFolderInfo::lastUpdatedHuman($path);

echo 'Raw Data '.$path.'';
$data = Sunnysideup\FolderInfo\MyFolderInfo::run($path);
print_r($data);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

1576d ago

Major Versions

1.1.0 → 2.0.02022-01-13

2.0.0 → 3.0.02022-01-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/167154?v=4)[Sunny Side Up](/maintainers/sunnysideup)[@sunnysideup](https://github.com/sunnysideup)

---

Top Contributors

[![sunnysideup](https://avatars.githubusercontent.com/u/167154?v=4)](https://github.com/sunnysideup "sunnysideup (12 commits)")

---

Tags

filefilesfoldercountfilesizefiletime

### Embed Badge

![Health badge](/badges/sunnysideup-folder-info/health.svg)

```
[![Health](https://phpackages.com/badges/sunnysideup-folder-info/health.svg)](https://phpackages.com/packages/sunnysideup-folder-info)
```

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.1k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M782](/packages/league-flysystem-aws-s3-v3)[league/flysystem-local

Local filesystem adapter for Flysystem.

226231.8M39](/packages/league-flysystem-local)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8533.6M194](/packages/league-flysystem-memory)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-ziparchive

ZIP filesystem adapter for Flysystem.

1039.3M58](/packages/league-flysystem-ziparchive)

PHPackages © 2026

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