PHPackages                             classfinder/classfinder - 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. classfinder/classfinder

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

classfinder/classfinder
=======================

A utility for obtaining fully qualified class names from a directory.

1.4(8y ago)0475PHP

Since May 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dallincoons/classfinder)[ Packagist](https://packagist.org/packages/classfinder/classfinder)[ RSS](/packages/classfinder-classfinder/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

ClassFinder
===========

[](#classfinder)

This is a class adapted from the old Illuminate\\FileSystem\\ClassFinder class that was in the Laravel source once upon a time.

Call `ClassFinder::findClasses($path)` to obtain a list of fully qualified class names from the given directory. By default this will match any file with an extension of `.php`, but a second optional parameter can be passed in to provide a different matching pattern (eg \*Service.php)

If the directory is potentially non-existent, `ClassFinder::findClassesSafely($path)` can be called, which will return an empty array if the directory does not exist.

A fully qualified class name for a single class may also be obtained through `ClassFinder::findClass($pathToClass)`

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~37 days

Total

5

Last Release

3177d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eeb49000a25287739988f7738dc10fabe0db8acf4ec807a0a5e997f5ba3f5d97?d=identicon)[dallinc](/maintainers/dallinc)

---

Top Contributors

[![eddcoons](https://avatars.githubusercontent.com/u/20890595?v=4)](https://github.com/eddcoons "eddcoons (6 commits)")[![dallincoons](https://avatars.githubusercontent.com/u/6494464?v=4)](https://github.com/dallincoons "dallincoons (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/classfinder-classfinder/health.svg)

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

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.0k](/packages/composer-composer)[illuminate/session

The Illuminate Session package.

10239.3M829](/packages/illuminate-session)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17316.3M273](/packages/symfony-stimulus-bundle)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5275.7M113](/packages/symplify-monorepo-builder)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)

PHPackages © 2026

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