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

ActiveLibrary

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 3d 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 64% 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

3130d 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

[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k235.4M9.7k](/packages/symfony-framework-bundle)[laravel/pennant

A simple, lightweight library for managing feature flags.

57311.1M53](/packages/laravel-pennant)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[horstoeko/zugferd

A library for creating and reading european electronic invoices

4044.3M18](/packages/horstoeko-zugferd)

PHPackages © 2026

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