PHPackages                             autoframe/class-dependency - 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. autoframe/class-dependency

ActiveLibrary

autoframe/class-dependency
==========================

Autoframe PHP dependency resolver for classes, interfaces and traits using static reflection and all in one class

1.0.6(2y ago)01281MITPHPPHP ^7.4 || ^8.0

Since May 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/autoframe/class-dependency)[ Packagist](https://packagist.org/packages/autoframe/class-dependency)[ Docs](https://github.com/autoframe)[ RSS](/packages/autoframe-class-dependency/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (1)

Autoframe is a low level framework that is oriented on SOLID flexibility
========================================================================

[](#autoframe-is-a-low-level-framework-that-is-oriented-on-solid-flexibility)

[![Build Status](https://github.com/autoframe/class-dependency/workflows/PHPUnit-tests/badge.svg?branch=main)](https://github.com/autoframe/class-dependency/actions?query=branch:main)[![License: MIT](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](https://opensource.org/licenses/MIT)[![Packagist Version](https://camo.githubusercontent.com/35865b648d0339f351c37f8ddf60cc41a795993042582baa2d5c30ea46997410/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6175746f6672616d652f636c6173732d646570656e64656e63793f6c6162656c3d7061636b6167697374253230737461626c65)](https://camo.githubusercontent.com/35865b648d0339f351c37f8ddf60cc41a795993042582baa2d5c30ea46997410/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6175746f6672616d652f636c6173732d646570656e64656e63793f6c6162656c3d7061636b6167697374253230737461626c65)[![Downloads](https://camo.githubusercontent.com/241ab5996b07d7a5e88687409e48cf10600670a54c964392377026d164ff31bc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6175746f6672616d652f636c6173732d646570656e64656e63792e737667)](https://packagist.org/packages/autoframe/class-dependency)

*Autoframe PHP dependency resolver for classes, interfaces and traits using static reflection and all in one class*

Namespace\\Class:

- Autoframe\\ClassDependency\\AfrClassDependency

Static methods:

- public static function getClassInfo(mixed $obj\_sFQCN): AfrClassDependency;
- public static function clearClassInfo(mixed $obj\_sFQCN): bool;
- public static function isSkipped(mixed $obj\_sFQCN): bool;
- public static function getDependencyInfo(): array;
- public static function clearDependencyInfo(): void;
- public static function getDebugFatalError(): array;
- public static function clearDebugFatalError(): void;
- public static function flush(): void;
- public static function setSkipClassInfo(array $aFQCN, bool $bMergeWithExisting = false): array;
- public static function setSkipNamespaceInfo(array $aNamespaces, bool $bMergeWithExisting = false): array;
- public static function getSkipClassInfo(): array;
- public static function getSkipNamespaceInfo(): array;

Instance methods:

- public function getType(): string;
- public function getAllDependencies(): array;
- public function getClassName(): string;
- public function \_\_toString(): string;
- public function getParents(): array;
- public function getTraits(): array;
- public function getInterfaces(): array;
- public function isClass(): bool;
- public function isTrait(): bool;
- public function isInterface(): bool;
- public function isEnum(): bool;
- public function isAbstract(): bool;
- public function isInstantiable(): bool;
- public function isSingleton(): bool;
- public function doIDependOn($mClass): bool;

Instance methods are available using getClassInfo(className or object): AfrClassDependency

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~2 days

Total

6

Last Release

1075d ago

### Community

Maintainers

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

---

Top Contributors

[![autoframe](https://avatars.githubusercontent.com/u/34517931?v=4)](https://github.com/autoframe "autoframe (14 commits)")

---

Tags

interfacesdependencyreflectionstaticresolverclassestraitsenumsdependency resolver

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/autoframe-class-dependency/health.svg)

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

###  Alternatives

[ergebnis/classy

Provides collectors for classy constructs (classes, enums, interfaces, and traits).

382.8M20](/packages/ergebnis-classy)[thecodingmachine/class-explorer

Find the list of all your classes and more.

122.0M2](/packages/thecodingmachine-class-explorer)[rybakit/arguments-resolver

ArgumentsResolver allows you to determine the arguments to pass to a function or method.

26107.7k7](/packages/rybakit-arguments-resolver)[infocyph/intermix

A Collection of useful PHP class functions.

136.4k1](/packages/infocyph-intermix)

PHPackages © 2026

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