PHPackages                             milan-miscevic/folder - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. milan-miscevic/folder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

milan-miscevic/folder
=====================

Folder scanner

0.6(4y ago)14MITPHPPHP ^7.4 || ^8CI failing

Since Jan 3Pushed 3y agoCompare

[ Source](https://github.com/milan-miscevic/folder)[ Packagist](https://packagist.org/packages/milan-miscevic/folder)[ RSS](/packages/milan-miscevic-folder/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (6)Versions (9)Used By (0)

folder
======

[](#folder)

[![Software License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)[![PDS Skeleton](https://camo.githubusercontent.com/50d01a5094afcc3a827c3cadaec43d23b2a256cb249f5fdd6e5ffdb53ea7971c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d736b656c65746f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-pds/skeleton)

[![GitHub Build](https://github.com/milan-miscevic/folder/workflows/Test/badge.svg?branch=master)](https://github.com/milan-miscevic/folder/actions)[![Quality Gate Status](https://camo.githubusercontent.com/c4672cf065b60d0b61192b3a24a07a21f350c39e7a0a61c3cc7eac5ef021375f/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6d696c616e2d6d697363657669635f666f6c646572266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=milan-miscevic_folder)[![Type Coverage](https://camo.githubusercontent.com/24653ea64715ac884b964256705e96038ccbb82f2ab9a53c240efe79ec5e6014/68747470733a2f2f73686570686572642e6465762f6769746875622f6d696c616e2d6d697363657669632f666f6c6465722f636f7665726167652e737667)](https://shepherd.dev/github/milan-miscevic/folder)[![Mutation testing badge](https://camo.githubusercontent.com/c4cf31d91c7494a1ad9cd409d1eb3d70ed6595b19a6437fc15e228dc41a2439e/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532466d696c616e2d6d69736365766963253246666f6c6465722532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/milan-miscevic/folder/master)

A folder scanner.

Usage
-----

[](#usage)

```
use Mmm\Folder\ActiveFolder;
use Mmm\Folder\ActiveSubFolder;

$af = new ActiveFolder(__DIR__);
$af->getFolders(); // returns a list of folders
$af->getAbsoluteFolders(); // returns a list of folders with absolute paths
$af->getFiles(); // returns a list of files
$af->getAbsoluteFiles(); // returns a list of files with absolute paths

$asf = new ActiveSubFolder(__DIR__, '.');
$asf->getFolders();
$asf->getAbsoluteFolders();
$asf->getRelativeFolders(); // returns a list of folders with relative paths to the base folder
$asf->getFiles();
$asf->getAbsoluteFiles();
$asf->getRelativeFiles(); // returns a list of files with relative paths to the base folder
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.2% 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 ~221 days

Recently: every ~172 days

Total

8

Last Release

1503d ago

PHP version history (2 changes)0.4PHP ^7.2

0.6PHP ^7.4 || ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/010d79363a7deb81d4d44ae01686b8151a29032415d3ca904e908094e0dd7370?d=identicon)[milan-miscevic](/maintainers/milan-miscevic)

---

Top Contributors

[![milan-miscevic](https://avatars.githubusercontent.com/u/7656767?v=4)](https://github.com/milan-miscevic "milan-miscevic (65 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (15 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

absolute-pathactive-folderfilesfolderfoldersrelative-pathscannerfilesfolderscannerfoldersrelative pathabsolute pathactive-folder

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/milan-miscevic-folder/health.svg)

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

###  Alternatives

[lorisleiva/lody

Load files and classes as lazy collections in Laravel.

956.6M9](/packages/lorisleiva-lody)[wapmorgan/file-type-detector

Detects file type by filename or content and generates correct mimetype.

35367.8k2](/packages/wapmorgan-file-type-detector)[terminal42/contao-folderpage

Provides a new page type for Contao that allows you to group pages into folders.

18147.9k9](/packages/terminal42-contao-folderpage)[colinodell/indentation

Library to detect and manipulate indentation in strings and files

3911.5k5](/packages/colinodell-indentation)[codingfreaks/cf-cookiemanager

Manage cookies, scripts, and GDPR compliance on your Typo3 website with CodingFreaks Typo3 Cookie Manager. Customize cookie banners, streamline workflow, and enhance user experience. Ensure GDPR compliance and take control of cookie management with our Typo3 cookie management extension. Visit the official Typo3 Documentation page to learn more.

1625.8k](/packages/codingfreaks-cf-cookiemanager)

PHPackages © 2026

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