vanengers/class-finder

Find classes (with namespaces) within folders

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/vanengers/class-finder

v1.1.1 2024-11-04 16:07 UTC

This package is auto-updated.

Last update: 2025-10-04 18:12:13 UTC


README

Find classes (with namespaces) within folders

Installation

composer require vanengers/class-finder

Usage

$finder = new ClassFinder();
$classes = $finder->getAllNameSpaces('/path/to/folder/to/search');

How it works.

Find all PHP classes in folder and subfolders. It will return an array with the full namespace of the class.