PHPackages                             danog/class-finder - 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. danog/class-finder

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

danog/class-finder
==================

Fork of haydenpierce/class-finder with support for traits, interfaces and functions

0.4.8(5y ago)12149.7k↓51.2%43MITPHPPHP &gt;=5.3CI failing

Since Aug 4Pushed 5y ago2 watchersCompare

[ Source](https://github.com/danog/class-finder)[ Packagist](https://packagist.org/packages/danog/class-finder)[ RSS](/packages/danog-class-finder/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (20)Used By (3)

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

[](#classfinder)

A dead simple utility to identify classes, traits, functions and interfaces in a given namespace.

This package is an improved implementation of an [answer on Stack Overflow](https://stackoverflow.com/a/40229665/3000068)and provides additional features with less configuration required.

Requirements
------------

[](#requirements)

- Application is using Composer.
- Classes can be autoloaded with Composer.
- PHP &gt;= 5.3.0

Installing
----------

[](#installing)

Installing is done by requiring it with Composer.

```
$ composer require danog/class-finder

```

No other installation methods are currently supported.

Supported Autoloading Methods
-----------------------------

[](#supported-autoloading-methods)

MethodSupportedwith `ClassFinder::RECURSIVE_MODE`PSR-4✔️✔️PSR-0❌️\*❌️\*Classmap✔️✔️Files✔️^❌️\*\*^ Experimental.

\* Planned.

\*\* Not planned. Open an issue if you need this feature.

Examples
--------

[](#examples)

**Standard Mode**

```
